re: Using Docker for Node.js in Development and Production VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi Alex, thanks for the excellent article. I am developing something similar at work and I have a question regarding docker compose and shared vol...
 

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

 

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

Thanks!

code of conduct - report abuse