I am wondering how to specify which step to not cache within the Dockerfile
?
In this example, I want to cache npm install
but I do not want to cache newman run
. Can I do this within this Dockerfile
?
FROM postman/newman
RUN npm install -g newman-reporter-teamcity
COPY . /etc/newman
# Do not cache
RUN newman run collections.json -x --delay-request 10 -r teamcity