From b78bc9c7fcc10559d7f8db0b29fc9b2e52e147e2 Mon Sep 17 00:00:00 2001 From: Shana Moore Date: Fri, 17 Nov 2023 13:05:09 -0800 Subject: [PATCH] :bug: [i12] add symblink to public/branding This commit is required to resolve the issue with uploading images from the Collections' branding tab. Because the symlink wasn't established, a user would not be able to see the images they uploaded even though the path correctly exists. Issue: - https://github.com/scientist-softserv/hykuup_knapsack/issues/12 Related PR: - https://github.com/scientist-softserv/atla-hyku/pull/187 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 75762fd..ee4676d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM ghcr.io/samvera/hyku/base:latest as hyku-knap-base COPY --chown=1001:101 . /app/samvera ENV BUNDLE_LOCAL__HYKU_KNAPSACK=/app/samvera ENV BUNDLE_DISABLE_LOCAL_BRANCH_CHECK=true +RUN ln -sf /app/samvera/branding /app/samvera/hyrax-webapp/public/branding FROM hyku-knap-base as hyku-web RUN RAILS_ENV=production SECRET_KEY_BASE=`bin/rake secret` DB_ADAPTER=nulldb DB_URL='postgresql://fake' bundle exec rake assets:precompile && yarn install