Skip to content

Commit

Permalink
Update werf.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvarko authored Sep 12, 2023
1 parent 75db0a4 commit 60c2a0f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions werf.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
configVersion: 1
project: "web-client"
---
image: web
image: builder
from: node:16-alpine
docker:
WORKDIR: /frontend
ENTRYPOINT: ["yarn", "dev"]
git:
- add: /
to: /frontend
Expand All @@ -26,3 +23,14 @@ shell:
setup:
- cd /frontend
- yarn generate
---
image: web
from: nginx:alpine
git:
- add: /nginx.conf
to: /etc/nginx/nginx.conf
import:
- image: builder
add: /frontend/.output/public
to: /usr/share/nginx/html
after: setup

0 comments on commit 60c2a0f

Please sign in to comment.