- Renamed packages io.shinhanlife.dap to io.shinhanlife.dat - Renamed modules dap-was-* and dap-gateway to dat-was-* and dat-gateway - Renamed classes DapGateway* to DatGateway* - Updated all references
15 lines
474 B
Docker
15 lines
474 B
Docker
FROM eclipse-temurin:21-jdk-alpine AS builder
|
|
WORKDIR /workspace
|
|
COPY . .
|
|
RUN chmod +x gradlew \
|
|
&& ./gradlew :dap-tool-report:bootJar -x test --no-daemon \
|
|
&& find dap-tool-report/build/libs -name '*-SNAPSHOT.jar' ! -name '*-plain.jar' -exec cp {} /workspace/app.jar \;
|
|
|
|
FROM eclipse-temurin:21-jre-alpine
|
|
WORKDIR /app
|
|
RUN apk add --no-cache tzdata
|
|
ENV TZ=Asia/Seoul
|
|
COPY --from=builder /workspace/app.jar app.jar
|
|
EXPOSE 8092
|
|
ENTRYPOINT ["java", "-jar", "app.jar"]
|