Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Shifted the logic.
  • Loading branch information
nhkhai committed May 1, 2024
1 parent d1fbc1a commit 4011482
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ WORKDIR /opt/app
COPY .mvn/ .mvn
COPY mvnw pom.xml ./

# Modify the permissions of the mvnw script.
RUN chmod +x ./mvnw

RUN ./mvnw dependency:go-offline

COPY src ./src

# Modify the permissions of the mvnw script.
RUN chmod +x ./mvnw

# RUN apk add --no-cache \
# package1 \
# package2 \
Expand Down

0 comments on commit 4011482

Please sign in to comment.