Skip to content

Commit

Permalink
port 443
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Handke committed Jan 7, 2024
1 parent d5b5ef1 commit 79a76d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM maven AS build
WORKDIR /app
COPY pom.xml .
COPY src ./src
COPY keystore.jks .
RUN --mount=type=secret,id=JWT_SECRET \
--mount=type=secret,id=KEYSTORE_PASS \
--mount=type=secret,id=MYSQL_PASSWORD \
Expand All @@ -16,7 +17,7 @@ FROM amazoncorretto:16
EXPOSE 443:443
WORKDIR /app
COPY --from=build /app/target/kickeventBackend.jar /app/kickeventBackend.jar

COPY --from=build /app/keystore.jks /app/keystore.jks

ENTRYPOINT ["java","-jar","/app/kickeventBackend.jar"]

0 comments on commit 79a76d4

Please sign in to comment.