Fix app crash on startup when /bookdrop volume is not mounted (#2873)

This commit is contained in:
ACX
2026-02-23 12:51:26 -07:00
committed by GitHub
parent 2a5fef729c
commit 3908bc4df3
2 changed files with 30 additions and 15 deletions
+2 -1
View File
@@ -56,7 +56,8 @@ LABEL org.opencontainers.image.title="BookLore" \
ENV JAVA_TOOL_OPTIONS="-XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+UseStringDeduplication -XX:+UseContainerSupport -XX:+UseCompactObjectHeaders -XX:MaxRAMPercentage=75.0"
RUN apk update && apk add --no-cache su-exec
RUN apk update && apk add --no-cache su-exec && \
mkdir -p /bookdrop
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh