Skip to content

Commit

Permalink
Expose port (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
koxudaxi committed Apr 26, 2021
1 parent da8f863 commit e366084
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kotlin/local-data-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ RUN mkdir /app

COPY ./build/libs/local-data-api-*-all.jar /app/local-data-api.jar
WORKDIR /app

EXPOSE 80

CMD ["java", "-server", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseContainerSupport", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=100", "-XX:+UseStringDeduplication", "-jar", "local-data-api.jar", "-port=80"]

0 comments on commit e366084

Please sign in to comment.