lesson 9
This commit is contained in:
16
nodeJS/Learning/07/app/docker-compose.yaml
Normal file
16
nodeJS/Learning/07/app/docker-compose.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
# files are put in here
|
||||
volumes:
|
||||
- .:/usr/src/app
|
||||
- ./node_modules:/usr/src/app/node_modules
|
||||
command: ["yarn", "dev"]
|
||||
|
||||
cms:
|
||||
build:
|
||||
context: ../cms
|
||||
ports:
|
||||
- "1337:1337"
|
||||
Reference in New Issue
Block a user