3 ms·
Ideally I'd like the same Dockerfile used for both local dev as well as deployment. To do this, we're using something similar to the first Dockerfile, with the
by politelemon 9y ago
Ideally I'd like the same Dockerfile used for both local dev as well as deployment. To do this, we're using something similar to the first Dockerfile, with the `nodemon` install.
Then in a docker-compose.override.yml,
command: nodemon --inspect=0.0.0.0:5858 /code/bin/www
To allow for debugging as well. We delete that .override.yml file as part of the CI build/deploy.