Skip to content

Commit

Permalink
reduce image size
Browse files Browse the repository at this point in the history
  • Loading branch information
omohokcoj committed Jan 15, 2024
1 parent f1ebd8f commit fc3c1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN apk add --no-cache build-base sqlite-dev libpq-dev mariadb-dev vips-dev vips

COPY ./Gemfile ./Gemfile.lock ./

RUN bundle update --bundler && bundle install && rm -rf ~/.bundle
RUN bundle update --bundler && bundle install && rm -rf ~/.bundle /usr/local/bundle/cache && find /usr/local/bundle -type d \( -name "rdoc" -o -name "spec" \) -exec rm -rf {} +

COPY ./bin ./bin
COPY ./app ./app
Expand Down

0 comments on commit fc3c1e6

Please sign in to comment.