From 84d60a8718364b5a212001b1d18f0c7989810794 Mon Sep 17 00:00:00 2001 From: Mikk Romulus Date: Tue, 2 Jan 2024 14:50:42 +0200 Subject: [PATCH] chore: Fix production stage in docker build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c7a5afa3..32fb0d21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -109,6 +109,6 @@ RUN chown $CONTAINER_USER_NAME:$CONTAINER_USER_NAME $APP_PATH USER $CONTAINER_USER_NAME RUN yarn --immutable -RUN DATABASE_URL=postgresql://db SECRET_KEY_BASE=`bin/rake secret` bundle exec rake assets:precompile +RUN DATABASE_URL=postgresql://db SECRET_KEY_BASE=`bin/rails secret` bundle exec rails assets:precompile CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"] \ No newline at end of file