Ocelot-Social/docker-compose.override.yml
Robert Schäfer bef8aa1d6a Reduce docker image size with multistage build
We don't need development dependencies in production. I also added the
BUILD_COMMIT environment variable to the image for convenience.
2018-12-14 22:41:13 +01:00

15 lines
217 B
YAML

version: "3.7"
services:
backend:
build:
context: .
target: builder
volumes:
- .:/nitro-backend
- /nitro-backend/node_modules
neo4j:
ports:
- 7687:7687
- 7474:7474