reduce image size

pull/217/head
Pete Matsyburka 2 years ago
parent f1ebd8f912
commit fc3c1e65e3

@ -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

Loading…
Cancel
Save