Skip to content

Commit

Permalink
Update Dockerfile (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh3305 authored Jan 26, 2023
1 parent bd016f4 commit cb3ed46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM openjdk:19
ARG JAR_FILE=build/libs/Auth-0.0.1-SNAPSHOT.jar
ARG JAR_FILE=build/libs/Backend-Auth-0.0.1-SNAPSHOT.jar
ARG MONGODB_URI=mongodb://localhost:27017
ENV MONGODB_URI=$MONGODB_URI
ENV APPLICATION_PORT 8082
EXPOSE 8082 27017
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
ENTRYPOINT ["java","-jar","/app.jar"]

0 comments on commit cb3ed46

Please sign in to comment.