diff --git a/Dockerfile b/Dockerfile index de6c806..66f003b 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 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 +RUN RAILS_ENV=production BUILD_STAGE=docker SECRET_KEY_BASE=1 ./bin/rails tailwindcss:build +RUN RAILS_ENV=production BUILD_STAGE=docker SECRET_KEY_BASE=1 ./bin/rails assets:precompile # Final stage for app image