ccalhoun
PROOP
9 months ago
Within my Dockerfile, I'm declaring the WORKDIR as /usr/src/app
Do I make the volume mount path the same?
7 Replies
and it will be the output of the pwd command if you execute that in the image
where you mount the volume is completely independent and is defined through absolute paths
the only caveat would be if your app's scope is the same than the working directory and you decide to attach your volume outside of it, so you wouldn't have access to the volume