expose port on run stage
This commit is contained in:
parent
be672aab57
commit
d6cd18729f
|
@ -29,6 +29,8 @@ FROM eclipse-temurin:21-jre-ubi9-minimal
|
||||||
|
|
||||||
ARG PROFILE
|
ARG PROFILE
|
||||||
ARG REVISION
|
ARG REVISION
|
||||||
|
ENV SERVER_PORT=8080
|
||||||
|
EXPOSE ${SERVER_PORT}
|
||||||
|
|
||||||
COPY --from=build-stage /build/annotation-web/target/annotation-web-${REVISION}.jar /app/annotation-web.jar
|
COPY --from=build-stage /build/annotation-web/target/annotation-web-${REVISION}.jar /app/annotation-web.jar
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue