mirror of
https://github.com/gotson/komga.git
synced 2025-12-22 00:13:30 +01:00
fix(docker): docker image doesn't start
This commit is contained in:
parent
a36cb5ffd5
commit
8bce80b408
1 changed files with 5 additions and 4 deletions
|
|
@ -1,10 +1,11 @@
|
|||
FROM adoptopenjdk:11-jre-hotspot
|
||||
VOLUME /tmp
|
||||
ARG DEPENDENCY=build/dependency
|
||||
COPY ${DEPENDENCY}/dependencies/ /app/
|
||||
COPY ${DEPENDENCY}/spring-boot-loader/ /app/
|
||||
COPY ${DEPENDENCY}/snapshot-dependencies/ /app/
|
||||
COPY ${DEPENDENCY}/application/ /app/
|
||||
WORKDIR app
|
||||
COPY ${DEPENDENCY}/dependencies/ ./
|
||||
COPY ${DEPENDENCY}/spring-boot-loader/ ./
|
||||
COPY ${DEPENDENCY}/snapshot-dependencies/ ./
|
||||
COPY ${DEPENDENCY}/application/ ./
|
||||
ENV KOMGA_DATABASE_BACKUP_PATH="/config/database-backup.zip"
|
||||
ENV KOMGA_DATABASE_FILE="/config/database.sqlite"
|
||||
ENV SPRING_DATASOURCE_URL="jdbc:h2:/config/database.h2"
|
||||
|
|
|
|||
Loading…
Reference in a new issue