diff --git a/ChargeControlBackend/Dockerfile b/ChargeControlBackend/Dockerfile index 0306a83..b92b4be 100644 --- a/ChargeControlBackend/Dockerfile +++ b/ChargeControlBackend/Dockerfile @@ -1,5 +1,5 @@ FROM openjdk:17 -ARG JAR_FILE=./ChargeControlBackend/build/libs/ChargeControlServer-0.0.1-SNAPSHOT.jar -COPY ${JAR_FILE} chargecontrol.jar -ENTRYPOINT ["java","-jar","chargecontrol.jar"] +ARG JAR_FILE=ChargeControlBackend/build/libs/ChargeControlServer-0.0.1-SNAPSHOT.jar +COPY ${JAR_FILE} app.jar +ENTRYPOINT ["java","-jar","app.jar"]