This commit is contained in:
xRain 2023-08-22 11:49:19 +08:00
parent d567f6dba9
commit ffde54a8f7

View File

@ -14,7 +14,7 @@ runs:
- uses: docker://docker:cli - uses: docker://docker:cli
with: with:
entrypoint: 'sh -c' entrypoint: 'sh -c'
run: | args: |
echo "FROM nginx:alpine" > Dockerfile echo "FROM nginx:alpine" > Dockerfile
echo "COPY dist /usr/share/nginx/html" >> Dockerfile echo "COPY dist /usr/share/nginx/html" >> Dockerfile
echo "WORKDIR /usr/share/nginx/html/" >> Dockerfile echo "WORKDIR /usr/share/nginx/html/" >> Dockerfile