Skip to content

Commit

Permalink
Updated dockerfile order to aid permissions issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronster2018 committed Dec 23, 2024
1 parent 8a09ba9 commit 2333759
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ RUN mkdir -p /gems && chown $UID:$GID /gems
USER $UNAME

COPY --chown=$UID:$GID Gemfile* /usr/src/app/
COPY --chown=$UID:$GID . /usr/src/app

WORKDIR /usr/src/app

COPY --chown=$UID:$GID . /usr/src/app

RUN bundle install

CMD ["bundle", "exec", "rackup", "-p", "4567", "-o", "0.0.0.0"]

0 comments on commit 2333759

Please sign in to comment.