Skip to content

Commit

Permalink
symlink failing, added a check first
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-kucing committed Dec 20, 2024
1 parent 8cc11a9 commit d622af3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ COPY example-docs example-docs
RUN chown -R notebook-user:notebook-user /app && \
apk add font-ubuntu git && \
fc-cache -fv && \
ln -s /usr/bin/python3.11 /usr/bin/python3
if [ "$(readlink -f /usr/bin/python3)" != "/usr/bin/python3.11" ]; then \
ln -sf /usr/bin/python3.11 /usr/bin/python3; \
fi

USER notebook-user

Expand Down

0 comments on commit d622af3

Please sign in to comment.