Skip to content

Commit 05d8158

Browse files
committed
expose port
1 parent 341c675 commit 05d8158

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

backend/spring-boot/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ ENTRYPOINT ["java", "-Dspring.profiles.active=dev", "-jar", "bugzkit-api.jar"]
1616
FROM openjdk:21-jdk AS prod
1717
WORKDIR /app
1818
COPY --from=build /app/target/*.jar bugzkit-api.jar
19+
EXPOSE 8080
1920
ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-jar", "bugzkit-api.jar"]

frontend/svelte-kit/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ WORKDIR /app
2929
COPY --from=build /app/build build/
3030
COPY --from=build /app/package.json .
3131
ENV NODE_ENV=production
32+
EXPOSE 5173
3233
CMD ["node", "build"]

0 commit comments

Comments
 (0)