Skip to content

Commit

Permalink
Feat: 도커 파일 작성
Browse files Browse the repository at this point in the history
Related to: #5
  • Loading branch information
pjh5365 committed Sep 3, 2024
1 parent 9e8cc04 commit b022753
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Build
FROM eclipse-temurin:17-jdk AS build
LABEL authors="pjh5365"

WORKDIR /src
COPY . /src
RUN ./gradlew build

# Run
FROM eclipse-temurin:17-jre
EXPOSE 8081
COPY --from=build /src/build/libs/*SNAPSHOT.jar kaboo-auth.jar

ENTRYPOINT ["java", "-jar", "kaboo-auth.jar"]

0 comments on commit b022753

Please sign in to comment.