Skip to content
Snippets Groups Projects

Create assets on first run in production mode

Merged Pascal Ernster requested to merge 34-create-assets-on-first-run-in-production-mode into develop

Currently, starting RDMS after rebuilding and reinstalling it from scratch in RAILS_ENV=production mode fails because assets are not created automatically. I'd prefer to put the required commands into the Dockerfile, but this doesn't work currently because the path used to store these assets is a Docker volume shared between multiple Docker containers, which are not available at build time of these container images/execution time of the corresponding Dockerfile. Therefore, for the time being, we execute the commands in the container's hyrax/docker-entrypoint.sh.

Closes #34 (closed)

Merge request reports

Pipeline #6430 failed

Pipeline failed for eb66b864 on 34-create-assets-on-first-run-in-production-mode

Merged by Anusha RanganathanAnusha Ranganathan 2 years ago (Mar 24, 2023 7:49am UTC)

Loading

Pipeline #6548 failed

Pipeline failed for 1d038755 on develop

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading