Skip to content

Commit

Permalink
Optimize dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dibi-codes committed May 12, 2020
1 parent a5611b0 commit d61a4cc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ ENV BIND_PORT="80" \

COPY --from=builder /src/build/libs/nexus-proxy-2.3.0.jar /nexus-proxy.jar

EXPOSE 8080
EXPOSE 8443
EXPOSE 8080 8443

CMD ["-jar", "/nexus-proxy.jar"]

ENTRYPOINT ["java"]
CMD ["/nexus-proxy.jar"]

0 comments on commit d61a4cc

Please sign in to comment.