Dockerfile: Command Placement?! (pt. 1)

Tech: Dockerfile, Sass, CSS, node, angular 1.5

Challenge: seeing curious error when building ng container


Curious… let’s take a look at the Dockerfile…


After not too much troubleshooting… the problem is the placement of

RUN npm rebuild node-sass

!! By simply placing the rebuild after line 12 ADD ., all is well. Part 2 coming… why?