Skip to content

Commit f389eac

Browse files
author
Kirk Wang
authored
Merge pull request #2242 from samvera/i205-collection-thumbnail-rework
I205 collection thumbnail rework
2 parents 7f4d418 + 6c43c59 commit f389eac

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@ RUN ln -sf /usr/lib/libmediainfo.so.0 /app/fits/tools/mediainfo/linux/libmediain
8888

8989
COPY --chown=1001:101 ./bin/db-migrate-seed.sh /app/samvera/
9090

91-
# Ensure the directory exists and create the symbolic link
92-
RUN mkdir -p /app/samvera/hyrax-webapp/public && \
93-
mkdir -p /app/samvera/branding && \
94-
ln -snf /app/samvera/branding /app/samvera/hyrax-webapp/public/branding
95-
9691
ONBUILD ARG APP_PATH=.
9792
ONBUILD COPY --chown=1001:101 $APP_PATH/Gemfile* /app/samvera/hyrax-webapp/
9893
ONBUILD RUN git config --global --add safe.directory /app/samvera && \

bin/web

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22
# frozen_string_literal: true
33
`echo "$GOOGLE_OAUTH_PRIVATE_KEY_VALUE" | base64 -d > prod-cred.p12` unless ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE'].to_s.strip.empty?
44

5+
# Ensure the directory exists and create the symbolic link
6+
`mkdir -p /app/samvera/hyrax-webapp/public`
7+
`mkdir -p /app/samvera/branding`
8+
`ln -snf /app/samvera/branding /app/samvera/hyrax-webapp/public/branding`
9+
510
exec "bundle exec puma -v -b tcp://0.0.0.0:3000"

0 commit comments

Comments
 (0)