re: Docker - from the beginning, part I VIEW POST

VIEW FULL DISCUSSION
 

Fantastic article! I really love when I can learn and also try a real example! :)

In my case, I had some problems with the port, to make it work I had to modify my Dockerfile in this way:

EXPOSE ${PORT}

Without using curly brackets, the port wasn't available inside the Nodejs file. Do you know why? I'm using Docker 2.0.0.3 (31259) for macOS.

code of conduct - report abuse