Skip to content

Commit

Permalink
updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Dert1129 committed Oct 6, 2022
1 parent 4372295 commit aedd284
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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
RUN echo '* * * * * java -cp /app:/app/lib/* org.kpmp.FailedPackageChecker' >> /etc/crontabs/root

CMD crond && java -cp /app:app/lib/* org.kpmp.Application
CMD java -cp /app:app/lib/* org.kpmp.eridanus.Application

0 comments on commit aedd284

Please sign in to comment.