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 77950a7 commit 548abb3Copy full SHA for 548abb3
Dockerfile
@@ -0,0 +1,14 @@
1
+# Modbus Simulator Cli - Paulo Balbino - 2024
2
+FROM eclipse-temurin:17 as jre-build
3
+ADD . /work
4
+WORKDIR /work
5
+
6
+RUN ./gradlew shadowJar
7
8
+# Define your base image
9
+FROM eclipse-temurin:17
10
11
+# Continue with your application deployment
12
+RUN mkdir /opt/app
13
+COPY --from=jre-build work/build/libs/*.jar /opt/app/
14
+CMD ["java", "-jar", "/opt/app/modbus-simulator-cli-1.0-SNAPSHOT-all.jar"]
0 commit comments