Skip to content

Commit

Permalink
Merge pull request #239 from Step3-kakao-tech-campus/docs/#238
Browse files Browse the repository at this point in the history
#238 도커파일 생성
  • Loading branch information
latteisacat authored Nov 5, 2023
2 parents fffa411 + 1b1634d commit 6ffbad2
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 @@
# Stage 1: Build the application
FROM krmp-d2hub-idock.9rum.cc/goorm/gradle:8.2.1-jdk17

WORKDIR /home/gradle/project

COPY ./animory .

RUN echo "systemProp.http.proxyHost=krmp-proxy.9rum.cc\nsystemProp.http.proxyPort=3128\nsystemProp.https.proxyHost=krmp-proxy.9rum.cc\nsystemProp.https.proxyPort=3128" > /root/.gradle/gradle.properties

RUN gradle wrapper

RUN gradle clean bootJar

CMD ["java", "-jar", "-Dspring.profiles.active=production", "-Duser.timezone=Asia/Seoul", "/home/gradle/project/build/libs/animory-0.0.1-SNAPSHOT.jar"]

0 comments on commit 6ffbad2

Please sign in to comment.