Ocelot-Social/docker-compose.override.yml
Robert Schäfer 8e7a9644c0 Split development config from production config
in `docker-compose.yml` and `docker-compose.override.yml`. This should speed
up builds e.g. on Travis CI, which does not need to sync folders or run
`yarn run dev` if the docker image was built recently. Also it should
make the build more reliable as it behaves more similar to our deployment.
2018-12-08 15:43:50 +01:00

12 lines
167 B
YAML

version: '3.7'
services:
webapp:
volumes:
- .:/HC-WebApp
- node_modules:/HC-WebApp/node_modules
command: yarn run dev
volumes:
node_modules: