forked from TWS/kalkutago
Build custom image for client dev server
This commit is contained in:
parent
e84e9e6594
commit
741429630b
3 changed files with 14 additions and 4 deletions
|
|
@ -37,11 +37,9 @@ services:
|
|||
- ./db.mount:/var/lib/postgresql/data
|
||||
|
||||
client_devserver:
|
||||
image: node
|
||||
build: ./client
|
||||
volumes: [ ./client:/client/ ]
|
||||
working_dir: /client
|
||||
command: [ "sh", "-c", "yarn && yarn dev --host 0.0.0.0" ]
|
||||
expose: [ 5173 ]
|
||||
command: "yarn dev --host 0.0.0.0"
|
||||
networks: [ web ]
|
||||
labels:
|
||||
traefik.enable: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue