DEV Community

Discussion on: Using Docker for Node.js in Development and Production

Collapse
 
alex_barashkov profile image
Alex Barashkov

Hi Gabriel,

I'm not quite sure that I understood what's exactly in your service. For example if it's something like webpack/gulp website you build and then use that built data as a part of a nginx container I don't see any problem with that.

I also have in my microservices docker compose file for one project, one service which I execute with empty command, because I have to built and then use some commands through it via docker-compose run

Collapse
 
hamsterasesino profile image
Gabriel

That's exactly it. It is a container that only compiles the code via webpack/grunt.

Thanks!