Skip to content

Commit

Permalink
chore: dockerfile script
Browse files Browse the repository at this point in the history
  • Loading branch information
pyg410 authored Mar 11, 2024
1 parent f5485dc commit 3e527e9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Dockerfile

# jdk17 base image
FROM openjdk:17

# 인자 설정 - JAR_FILE
ARG JAR_FILE=build/libs/*.jar

# jar 파일 복제
COPY ${JAR_FILE} jnuwiki.jar

# 실행
ENTRYPOINT ["java", "-jar", "jnuwiki.jar"]

0 comments on commit 3e527e9

Please sign in to comment.