fix docker image which would not run components and beans tagged with prod profile

This commit is contained in:
Gauthier Roebroeck 2019-10-22 20:23:50 +08:00
parent 48de4e4d6a
commit c6d9fd1b22

View file

@ -4,5 +4,5 @@ ARG DEPENDENCY=target/dependency
COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib
COPY ${DEPENDENCY}/META-INF /app/META-INF
COPY ${DEPENDENCY}/BOOT-INF/classes /app
ENV SPRING_PROFILES_ACTIVE=docker
ENV SPRING_PROFILES_ACTIVE=prod,docker
ENTRYPOINT ["java","-cp","app:app/lib/*","org.gotson.komga.ApplicationKt"]