Skip to content

Commit

Permalink
More vite mucking
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitytakei committed Nov 8, 2024
1 parent 3080a3a commit 32b0277
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 @@ -55,7 +55,7 @@ RUN bundle exec bootsnap precompile app/ lib/

# Precompiling assets for production without requiring secret RAILS_MASTER_KEY
RUN RAILS_ENV=production SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
RUN RAILS_ENV=production SECRET_KEY_BASE_DUMMY=1 VITE_RUBY_ENV=production bundle exec vite build --outDir public/assets
RUN RAILS_ENV=production SECRET_KEY_BASE_DUMMY=1 bundle exec vite build
# RUN yarn vite build

# Final stage for app image
Expand Down

0 comments on commit 32b0277

Please sign in to comment.