DEV Community

Discussion on: How to Deploy a Rails Application to AWS with Docker - Part 1

Collapse
 
pamit profile image
Payam Mousavi

Great article!

I think after we specify the working directory in Dockerfile (WORKDIR ${APP_HOME}), we won't need to specify the directory in next commands like COPY so:

COPY Gemfile Gemfile.lock ./
...
COPY . ./
Enter fullscreen mode Exit fullscreen mode