Skip to content

Commit

Permalink
Put the jar in the coconut
Browse files Browse the repository at this point in the history
  • Loading branch information
halprin committed Aug 27, 2024
1 parent db9f177 commit 3798dcb
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 @@ -9,7 +9,8 @@ USER myLowPrivilegeUser
ARG JAR_LIB_FILE=./app/build/libs/app-all.jar

# Create directory and switch to it
WORKDIR /home/myLowPrivilegeUser/app
#WORKDIR /home/myLowPrivilegeUser/app
WORKDIR /usr/local/bin/

# Add application JAR to created folder
COPY --chown=myLowPrivilegeUser ${JAR_LIB_FILE} app.jar
Expand Down

0 comments on commit 3798dcb

Please sign in to comment.