Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nhkhai authored Apr 28, 2024
1 parent 4f349a7 commit d93d454
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ ARG JAR_FILE=*.jar

# Copy the JAR file from the build context into the Docker image.
COPY target/${JAR_FILE} application.jar
#COPY .mvn/ .mvn
#COPY mvnw pom.xml ./

#COPY src ./src

#CMD apt-get update -y

# Set the default command to run the Java application.
#ENTRYPOINT ["java", "-Xmx2048M", "-jar", "/application.jar"]
ENTRYPOINT ["java","-jar","/application.jar"]
#RUN ./mvnw install -DskipTests
#CMD ["./mvnw", "spring-boot:run"]

0 comments on commit d93d454

Please sign in to comment.