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 78f7f4d commit ed0ebcb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ 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 @@ -14,10 +13,9 @@ RUN --mount=type=secret,id=JWT_SECRET \
mvn clean package spring-boot:repackage -f pom.xml

FROM amazoncorretto:16
EXPOSE 8443:8443
EXPOSE 443:8443
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"]
Expand Down

0 comments on commit ed0ebcb

Please sign in to comment.