We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f9657 commit 73e3b07Copy full SHA for 73e3b07
Dockerfile
@@ -1,4 +1,12 @@
1
-FROM openjdk:11-jre-slim
2
-COPY target/streaming-0.0.1-SNAPSHOT.jar /app/video-service.jar
3
-EXPOSE 8081
4
-ENTRYPOINT ["java", "-jar", "/app/video-service.jar"]
+FROM openjdk:17-jdk
+
+WORKDIR /app
5
+# Copy the JAR file
6
+COPY target/streaming-0.0.1-SNAPSHOT.jar /app/app.jar
7
8
+# Expose port
9
+EXPOSE 8080
10
11
+# Command to run the application
12
+CMD [ "java", "-jar", "/app/app.jar" ]
0 commit comments