test
This commit is contained in:
parent
0f1e350958
commit
2fe411b051
@ -6,15 +6,17 @@ runs:
|
||||
steps:
|
||||
- uses: docker://node:18
|
||||
with:
|
||||
entrypoint: '/bin/sh -c'
|
||||
entrypoint: '/bin/bash'
|
||||
args: |
|
||||
-c
|
||||
npm install
|
||||
npm run build -- --outputPath=dist
|
||||
|
||||
- uses: docker://docker:git
|
||||
with:
|
||||
entrypoint: '/bin/sh -c'
|
||||
entrypoint: '/bin/sh'
|
||||
args: |
|
||||
-c
|
||||
echo "FROM nginx:alpine" > Dockerfile
|
||||
echo "COPY dist /usr/share/nginx/html" >> Dockerfile
|
||||
echo "WORKDIR /usr/share/nginx/html/" >> Dockerfile
|
||||
|
Loading…
Reference in New Issue
Block a user