Skip to content

Commit

Permalink
Symlink branding (#507)
Browse files Browse the repository at this point in the history
* make sure everyone can write to /app/samvera/branding

* try another mount for branding

* I forgot production

* remove commented out line from Dockerfile
  • Loading branch information
cziaarm authored Jan 9, 2024
1 parent cb3a7ba commit 1404921
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ RUN sh -l -c " \
sed -i '/require .enumerator./d' /usr/local/bundle/gems/csl-1.6.0/lib/csl.rb"
COPY --chown=1001:101 $APP_PATH/bin/db-migrate-seed.sh /app/samvera/
COPY --chown=1001:101 $APP_PATH /app/samvera/hyrax-webapp
#RUN ln -sf /app/samvera/branding /app/samvera/hyrax-webapp/public/branding


ARG HYKU_BULKRAX_ENABLED="true"
RUN RAILS_ENV=production SECRET_KEY_BASE=`bin/rake secret` DB_ADAPTER=nulldb DATABASE_URL='postgresql://fake' bundle exec rake assets:precompile && yarn install
Expand Down
3 changes: 3 additions & 0 deletions ops/production-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ extraVolumeMounts: &volMounts
- name: uploads
mountPath: /app/samvera/hyrax-webapp/tmp/shared
subPath: shared
- name: uploads
mountPath: /app/samvera/hyrax-webapp/public/branding
subPath: public-branding

ingress:
enabled: true
Expand Down

0 comments on commit 1404921

Please sign in to comment.