Docker For Rails Developers - Chapter 2 Defining Our First Custom Image WORKDIR Correctoin

I ended up with a different solution and believe my original problem was a wrong file structure.

My Dockerfile is now located in the Rails app - myapp. The value of WORKDIR is /usr/src/app/.

Is that how you have yours now?

2 Likes