Skip to content

Commit 4d4fefe

Browse files
authored
Update Dockerfile
1 parent 3df33e5 commit 4d4fefe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

waste-management-application/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG JAR_FILE=target/*.jar
77
# Copy the JAR file from the build context into the Docker image
88
COPY ${JAR_FILE} app.jar
99

10-
CMD apt-get update -y
10+
#CMD apt-get update -y
1111

1212
# Set the default command to run the Java application
13-
ENTRYPOINT ["java", "-Xmx2048M", "-jar", "/app.jar"]
13+
ENTRYPOINT ["java", "-Xmx2048M", "-jar", "/app.jar"]

0 commit comments

Comments
 (0)