2020-06-18 10:46:24 +01:00
|
|
|
version: "3.8"
|
2020-04-29 08:53:07 +03:00
|
|
|
|
|
|
|
services:
|
|
|
|
excalidraw:
|
2020-06-18 10:46:24 +01:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
- NODE_ENV=development
|
|
|
|
target: deps
|
2020-04-29 08:53:07 +03:00
|
|
|
container_name: excalidraw
|
|
|
|
ports:
|
2020-06-18 10:46:24 +01:00
|
|
|
- "3000:3000"
|
2020-04-29 08:53:07 +03:00
|
|
|
restart: on-failure
|
2020-06-18 10:46:24 +01:00
|
|
|
command: npm run start
|
|
|
|
stdin_open: true
|
|
|
|
healthcheck:
|
|
|
|
disable: true
|
|
|
|
environment:
|
|
|
|
- NODE_ENV=development
|
|
|
|
volumes:
|
|
|
|
- ./:/opt/node_app/app:delegated
|
|
|
|
- ./package.json:/opt/node_app/package.json
|
|
|
|
- ./package-lock.lock:/opt/node_app/package-lock.lock
|
|
|
|
- notused:/opt/node_app/app/node_modules
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
notused:
|