Skip to content

Commit

Permalink
Merge pull request #60 from Charge-Control/fix/#59
Browse files Browse the repository at this point in the history
[FIX] Dockerfile Jar 파일 경로 수정
  • Loading branch information
rhkr8521 authored Jun 28, 2024
2 parents 24b2c3a + 93becb3 commit f710353
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ChargeControlBackend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Dockerfile

# jdk17 Image Start
FROM openjdk:17

ARG JAR_FILE=ChargeControlBackend/build/libs/ChargeControlServer-0.0.1-SNAPSHOT
ADD ${JAR_FILE} chargecontrol.jar
ARG JAR_FILE=./ChargeControlBackend/build/libs/ChargeControlServer-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} chargecontrol.jar
ENTRYPOINT ["java","-jar","chargecontrol.jar"]

0 comments on commit f710353

Please sign in to comment.