Skip to content

Commit

Permalink
make sure everyone can write to /app/samvera/branding (#505)
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
  • Loading branch information
cziaarm authored Jan 9, 2024
1 parent 592de50 commit cb3a7ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ 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
#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
4 changes: 4 additions & 0 deletions ops/staging-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ 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 cb3a7ba

Please sign in to comment.