From 79738bab836071f45638c4b46d2573f3a6adf98b Mon Sep 17 00:00:00 2001 From: Thomas Burkhalter Date: Mon, 29 Aug 2022 14:29:29 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 88390ca..707ebe7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ ARG BUILD_SCRIPT="curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \ ARG POST_BUILD_SCRIPT="yarn && bundle exec rails assets:precompile" # Bundler specific -ARG BUNDLE_APP_CONFIG="/app-src/.bundle/config" +ARG BUNDLE_APP_CONFIG="/app-src/.bundle/" ARG BUNDLE_WITHOUT="development:metrics:test" ARG BUNDLER_VERSION="2.3.12" @@ -75,9 +75,6 @@ COPY . /app-src WORKDIR /app-src # Run deployment -#RUN mkdir -p `dirname "${BUNDLE_APP_CONFIG}"` \ - # && touch "${BUNDLE_APP_CONFIG}" \ - # && chmod 777 "${BUNDLE_APP_CONFIG}" \ RUN bundle config set --local deployment 'true' \ && bundle config set --local without ${BUNDLE_WITHOUT} \ && bundle package \ @@ -166,9 +163,6 @@ ENV HOME=/app-src RUN gem install bundler:${BUNDLER_VERSION} --no-document # Use cached gems -RUN ls /app-src/.bundle/config -RUN stat /app-src/.bundle/config -RUN stat /app-src/.bundle/config/config RUN bundle config set --local deployment 'true' \ && bundle config set --local without ${BUNDLE_WITHOUT} \ && bundle