update compose.yaml
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
bf9685bb36
commit
c33239ee76
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
||||||
services:
|
services:
|
||||||
nodejs-app:
|
nodejs-app:
|
||||||
build: .
|
image: node:latest
|
||||||
|
working_dir: /usr/src/app
|
||||||
volumes:
|
volumes:
|
||||||
- .:/usr/src/app
|
- .:/usr/src/app
|
||||||
command: sh -c "npm install && npx nodemon"
|
command: sh -c "npm install && npx nodemon"
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
Loading…
Add table
Reference in a new issue