21 lines
417 B
YAML
21 lines
417 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
GIT_USER_NAME: ${GIT_USER_NAME}
|
|
GIT_USER_EMAIL: ${GIT_USER_EMAIL}
|
|
volumes:
|
|
- ..:/workspace:cached
|
|
- node_modules:/workspace/node_modules
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- CHOKIDAR_USEPOLLING=true
|
|
tty: true
|
|
|
|
volumes:
|
|
node_modules:
|