test
This commit is contained in:
parent
2fe411b051
commit
e00ee5d81a
@ -6,17 +6,15 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: docker://node:18
|
- uses: docker://node:18
|
||||||
with:
|
with:
|
||||||
entrypoint: '/bin/bash'
|
entrypoint: ["/bin/bash","-c"]
|
||||||
args: |
|
args: |
|
||||||
-c
|
|
||||||
npm install
|
npm install
|
||||||
npm run build -- --outputPath=dist
|
npm run build -- --outputPath=dist
|
||||||
|
|
||||||
- uses: docker://docker:git
|
- uses: docker://docker:git
|
||||||
with:
|
with:
|
||||||
entrypoint: '/bin/sh'
|
entrypoint: ["/bin/bash","-c"]
|
||||||
args: |
|
args: |
|
||||||
-c
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user