Skip to content

Commit

Permalink
Please compile, DOcker container
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Sep 7, 2023
1 parent 4942fc6 commit 79c5da6
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 @@ -33,7 +33,7 @@ COPY . .
RUN mv config/database.yml.docker config/database.yml

# Precompiling assets for production without requiring secret RAILS_MASTER_KEY
RUN SECRET_KEY_BASE_DUMMY=1 DATABASE_URL=postgres://dummy/dummy bundle exec rake assets:precompile
RUN SECRET_KEY_BASE_DUMMY=1 DATABASE_URL=postgres://dummy/dummy AWS_ACCESS_KEY_ID=dummy AWS_SECRET_ACCESS_KEY=dummy AWS_BUCKET=dummy bundle exec rake assets:precompile

# Final stage for app image
FROM base
Expand Down

0 comments on commit 79c5da6

Please sign in to comment.