docker-compose.yml 577 B

123456789101112131415161718192021222324252627
  1. version: "3.8"
  2. services:
  3. excalidraw:
  4. build:
  5. context: .
  6. args:
  7. - NODE_ENV=development
  8. target: deps
  9. container_name: excalidraw
  10. ports:
  11. - "3000:3000"
  12. restart: on-failure
  13. command: npm run start
  14. stdin_open: true
  15. healthcheck:
  16. disable: true
  17. environment:
  18. - NODE_ENV=development
  19. volumes:
  20. - ./:/opt/node_app/app:delegated
  21. - ./package.json:/opt/node_app/package.json
  22. - ./package-lock.lock:/opt/node_app/package-lock.lock
  23. - notused:/opt/node_app/app/node_modules
  24. volumes:
  25. notused: