From 0281abfecbc2b8df9e546603be19e3be3aba2f96 Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Wed, 4 Oct 2023 15:15:19 +0100 Subject: [PATCH] Add SECRET_KEY_BASE_DUMMY --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f81f42..de6c806 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,8 +37,8 @@ RUN bundle exec bootsnap precompile app/ lib/ # Work around a bug in SASSC https://github.com/sass/sassc-ruby/issues/146 ENV BUNDLE_BUILD__SASSC=--disable-march-tune-native -RUN RAILS_ENV=production BUILD_STAGE=docker ./bin/rails tailwindcss:build -RUN RAILS_ENV=production BUILD_STAGE=docker ./bin/rails assets:precompile +RUN RAILS_ENV=production BUILD_STAGE=docker SECRET_KEY_BASE_DUMMY=1 ./bin/rails tailwindcss:build +RUN RAILS_ENV=production BUILD_STAGE=docker SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile # Final stage for app image