Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
d92f29c69d | |||
08b36b5dcb | |||
dd5f025bc4 | |||
dee4bfa7e9 | |||
94ff66b643 |
@ -8,9 +8,7 @@ runs:
|
||||
with:
|
||||
entrypoint: "/bin/bash"
|
||||
args: |
|
||||
-c "export https_proxy=http://100.100.13.14:8118 && \
|
||||
export http_proxy=http://100.100.13.14:8118 && \
|
||||
npm install && \
|
||||
-c "npm install && \
|
||||
npm run build -- --output-path=dist"
|
||||
|
||||
- uses: docker://ubuntu:latest
|
||||
@ -18,7 +16,7 @@ runs:
|
||||
entrypoint: "/bin/bash"
|
||||
args: |
|
||||
-c 'echo "FROM nginx:alpine" > Dockerfile && \
|
||||
echo "COPY dist/browser /usr/share/nginx/html" >> Dockerfile && \
|
||||
echo "COPY dist /usr/share/nginx/html" >> Dockerfile && \
|
||||
echo "WORKDIR /usr/share/nginx/html/" >> Dockerfile && \
|
||||
echo "已经构建完DOCKERFILE了" && \
|
||||
cat Dockerfile'
|
||||
|
Reference in New Issue
Block a user