Ocelot-Social/docker-compose.override.yml
Robert Schäfer 6b4601e9d1 Try to help @mattwr18
I give up now after numerous attempts to reduce the docker image size.
The only thing left is that I've put the NODE_ENV=.. configuration in
the docker-compose.X.yml files, I think that's slightly cleaner
2019-01-11 00:54:43 +01:00

19 lines
364 B
YAML

version: '3.7'
services:
webapp:
environment:
- NODE_ENV=development
build:
context: .
target: build-and-test
volumes:
- .:/nitro-web
- node_modules:/nitro-web/node_modules
- node_modules_styleguide:/nitro-web/styleguide/node_modules
command: yarn run dev
volumes:
node_modules:
node_modules_styleguide: