Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Hardcoded the jar file name.
  • Loading branch information
nhkhai committed Apr 30, 2024
1 parent 4a3d1ad commit 299f434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ WORKDIR /
ENV PORT=9090

# The JAR file path.
ARG JAR_FILE=*.jar
# ARG JAR_FILE=*.jar
ARG JAR_FILE=the-review-room-0.0.1-SNAPSHOT.jar

# Copy the JAR file from the build context into the Docker image.
COPY target/${JAR_FILE} application.jar
Expand Down

0 comments on commit 299f434

Please sign in to comment.