Skip to content

Commit

Permalink
chore: Fix production stage in docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
mromulus committed Jan 2, 2024
1 parent e45ecd8 commit 84d60a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 84d60a8

Please sign in to comment.