Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Added a step in the Dockerfile to modify the permissions of the mvnw script before running it.
  • Loading branch information
nhkhai committed Apr 30, 2024
1 parent f3c1ade commit 64e20a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ COPY mvnw pom.xml ./

COPY src ./src

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

#CMD apt-get update -y

# Set the default command to run the Java application.
Expand Down

0 comments on commit 64e20a8

Please sign in to comment.