From 1906f99e39e65ea6fd2419b11659c9860336fb21 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Thu, 2 Nov 2023 02:04:25 +0000 Subject: [PATCH] Dockerfile: fix BUNDLE_DEPLOYMENT setting --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 650728d..45cb8b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ RUN apk add --no-cache --virtual .build-deps git build-base WORKDIR /app COPY Gemfile* ./ -RUN BUNDLE_DEPLOYMENT=1 bundle install && apk del --no-cache .build-deps +ENV BUNDLE_DEPLOYMENT=1 +RUN bundle install && apk del --no-cache .build-deps COPY src ./