From fc3c1e65e3e8bd916bb52adb08d281dbe9c2c2a3 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Mon, 15 Jan 2024 02:30:10 +0200 Subject: [PATCH] reduce image size --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 37d707e2..e8faecb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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