Skip to content

Commit

Permalink
set bundle path config in final docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
antmoth committed Nov 7, 2023
1 parent 6b214ff commit 3d4ad74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lauth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ FROM gems AS production

COPY ./lauth .
RUN chown -R ${UID}:${GID} /gems && chown -R ${UID}:${GID} /lauth/lauth
RUN bundle config set path /gems

ENV HANAMI_ENV=production

Expand All @@ -98,6 +99,7 @@ FROM dev-gems AS development

COPY ./lauth .
RUN chown -R ${UID}:${GID} /gems && chown -R ${UID}:${GID} /lauth/lauth
RUN bundle config set path /gems

EXPOSE 2300
USER $UNAME
Expand Down
1 change: 1 addition & 0 deletions lauth/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ GEM
PLATFORMS
aarch64-linux
arm64-darwin-22
x86_64-linux

DEPENDENCIES
database_cleaner-sequel
Expand Down

0 comments on commit 3d4ad74

Please sign in to comment.