fix(docker): include Java runtime for JDBC

Closes #1151
This commit is contained in:
t8y2 2026-08-02 23:45:26 +08:00
parent 5c3b045979
commit 8559aec8bc
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -86,10 +86,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
fonts-dejavu-core \
libfreetype6 \
libssl3 \
openjdk-17-jre-headless \
&& rm -rf /var/lib/apt/lists/*
COPY --from=backend /out/${TARGETPLATFORM}/dbx-web /usr/local/bin/
COPY --from=frontend /app/dist /app/static
ENV DBX_STATIC_DIR=/app/static
ENV DBX_DATA_DIR=/app/data
ENV DBX_JAVA_BIN=/usr/bin/java
EXPOSE 4224
CMD ["dbx-web"]