Skip to content

Commit

Permalink
demobbed-viewer: use relative links instead of full path.
Browse files Browse the repository at this point in the history
  • Loading branch information
psaiz committed Aug 30, 2024
1 parent 5870a18 commit 67cd9f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ RUN pip uninstall pipenv -y && pip install --no-cache-dir --upgrade pip==20.2.4
npm install -g --unsafe-perm [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] \
@cernopendata/[email protected] [email protected]

RUN ln -s /usr/lib/node_modules/@cernopendata/demobbed-viewer /usr/lib/node_modules/
# Make a relative link, so that if the directory is copied, it still works
RUN ln -s @cernopendata/demobbed-viewer /usr/lib/node_modules/

# Change group to root to support OpenShift runtime
RUN chgrp -R 0 "${INVENIO_INSTANCE_PATH}" && \
Expand Down

0 comments on commit 67cd9f7

Please sign in to comment.