-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
45 lines (30 loc) · 818 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FROM eclipse-temurin:17-jre-focal
EXPOSE 8080
ENV TZ=Asia/Seoul
HEALTHCHECK --interval=5s --timeout=3s --retries=4 CMD curl -f http://localhost:8080 || exit 1
ARG PROFILE
ENV PROFILE ${PROFILE}
ARG MYSQL_HOST
ENV MYSQL_HOST ${MYSQL_HOST}
ARG MYSQL_USERNAME
ENV MYSQL_USERNAME ${MYSQL_USERNAME}
ARG MYSQL_PASSWORD
ENV MYSQL_PASSWORD ${MYSQL_PASSWORD}
ARG REDIS_HOST
ENV REDIS_HOST ${REDIS_HOST}
ARG SENTRY_DSN
ENV SENTRY_DSN ${SENTRY_DSN}
ARG AWS_ACCESS
ENV AWS_ACCESS ${AWS_ACCESS}
ARG AWS_SECRET
ENV AWS_SECRET ${AWS_SECRET}
ARG NEIS_KEY
ENV NEIS_KEY ${NEIS_KEY}
ARG SES_SENDER
ENV SES_SENDER ${SES_SENDER}
ARG S3_BUCKET_NAME
ENV S3_BUCKET_NAME ${S3_BUCKET_NAME}
ARG FCM_FILE_URL
ENV FCM_FILE_URL ${FCM_FILE_URL}
COPY ./dms-infrastructure/build/libs/*.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]