Skip to content

Commit

Permalink
fix(docker): docker image doesn't start
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Jul 30, 2020
1 parent a36cb5f commit 8bce80b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions komga/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 8bce80b

Please sign in to comment.