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.
2 parents 5407df3 + f8aed46 commit a772744Copy full SHA for a772744
.dockerignore
@@ -0,0 +1,5 @@
1
+logs/
2
+.git/
3
+.idea/
4
+*.iml
5
+*.class
Dockerfile
@@ -0,0 +1,17 @@
+# Build Stage
+FROM --platform=linux/amd64 eclipse-temurin:21
+
+#
+ARG JAR_FILE=target/camera-onboarding-0.0.1-SNAPSHOT.jar
6
7
+# Set the working directory inside the container
8
+WORKDIR /app
9
10
+# Copy the application JAR file
11
+COPY ${JAR_FILE} app.jar
12
13
+# Expose the application port
14
+EXPOSE 8080
15
16
+# Run the application
17
+ENTRYPOINT ["java", "-jar", "app.jar"]
0 commit comments