diff --git a/Dockerfile b/Dockerfile index 2f58a2f0..b9b3a828 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/ops/production-deploy.tmpl.yaml b/ops/production-deploy.tmpl.yaml index 49c58b5d..73e212b9 100644 --- a/ops/production-deploy.tmpl.yaml +++ b/ops/production-deploy.tmpl.yaml @@ -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