Docker Community Forums

Share and learn in the Docker community.


Trying to figure out to not cache WORKDIR when bringing/building the service up. While I understand that docker-compose build --no-cache app builds the app again without cache, is there a way to exempt docker build from using cached WORKDIR.

I have the same issue! :neutral_face:

Docker builds images automatically by reading the instructions from a Dockerfile – a text file that contains all commands, in order, needed to build a given image. A Dockerfile adheres to a specific format and set of instructions which you can find at McDVOICE