Skip to content

Commit

Permalink
fix: run apk update when building Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yutaro-sakamoto committed Dec 7, 2024
1 parent 6241336 commit 6aee1c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ COPY lib /app
ARG JAR_FILE=build/libs/app.jar
COPY ${JAR_FILE} app.jar

RUN apk update

# アプリケーションを実行
ENTRYPOINT ["java", "-jar", "app.jar"]

0 comments on commit 6aee1c9

Please sign in to comment.