Hi guys. I’m trying to basically build my first Docker image which I believe I have successfully accomplished because it gets through all steps without any issues (after much trial and error though).
The problem I’m experiencing though is the fact that within my Docker image, I’m running a NodeJS application. Those of you familiar with NodeJS applications will know that whenever a NodeJS app is started, usually it takes control of the terminal and just sits there saying something along the lines of “Application X is running”. An example of this would be the Ghost blogging NodeJS application.
So what I’m running into is when I’m trying to initially build my image, it never completely builds because it gets to the part where the NodeJS app starts and hangs there saying the app is running. I feel like I’m going about this the wrong way and would just like some guidance into how I can get this image successfully built.
Thank you in advance!