Skip to content

Commit

Permalink
Allow to start in api or cli mode
Browse files Browse the repository at this point in the history
  • Loading branch information
avvertix committed Jun 2, 2024
1 parent 45097bc commit ad1e601
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ RUN mvn install -DskipTests
EXPOSE 4567

# Define the entrypoint.
ENTRYPOINT ["java", "-cp", "/bin/pdfact.jar", "pdfact.api.PdfApi"]
ENTRYPOINT ["java", "-cp", "/bin/pdfact.jar"]

CMD ["pdfact.api.PdfApi"]

# Build image.
# docker build -t pdfact .
Expand Down

0 comments on commit ad1e601

Please sign in to comment.