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

  • myapp should be your current directory. (cd myapp)
  • The Dockerfile should be created in the myapp directory–it looks like you created it one directory above.
  • docker build . will then succeed, I think.
1 Like