I'm a software developer with interest in Software Architecture, Security and lots of other stuff! Also a fan of many languages including Ruby | Elixir | Go | Swift | Java.
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 . ./
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 likeCOPY
so: