Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdilotfi167 committed Sep 5, 2023
1 parent c7298ac commit c99270e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ RUN bundle config --local deployment 'true' \
FROM base as build

ARG PACKAGES='alpine-sdk libpq-dev'
COPY gems ./
RUN pwd
RUN ls -ltrh
COPY gems ./gems
COPY Gemfile Gemfile.lock ./
RUN ls -ltrh /usr/src/app/gems
RUN apk update \
&& apk add --update --no-cache ${PACKAGES} \
&& bundle install --no-cache \
Expand Down

0 comments on commit c99270e

Please sign in to comment.