aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: e52fa2bab6ad781ab84b6aebe6da27b1f08e3f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM eclipse-temurin:17 as builder
COPY . ./bff
WORKDIR /bff

RUN ./gradlew assemble

FROM eclipse-temurin:17-jre-alpine
ARG JAR_FILE=/bff/app/build/libs/app.jar
COPY --from=builder ${JAR_FILE} app.jar
EXPOSE 9080
ENTRYPOINT [ "java","-jar","app.jar" ]