Skip to content

Commit

Permalink
feat: Added Dockerfile to projects
Browse files Browse the repository at this point in the history
  • Loading branch information
koreanMike513 committed Feb 6, 2025
1 parent 74342c3 commit 5f442fe
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Dockerfile

This file was deleted.

11 changes: 11 additions & 0 deletions foods/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM openjdk:17

ARG JAVA_FILE=build/libs/*.jar

WORKDIR /usr/src/app

COPY ${JAVA_FILE} joyeuse_planete-foods.jar

EXPOSE 8080

CMD [ "java", "-jar", "joyeuse_planete-foods.jar" ]
11 changes: 11 additions & 0 deletions notifications/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM openjdk:17

ARG JAVA_FILE=build/libs/*.jar

WORKDIR /usr/src/app

COPY ${JAVA_FILE} joyeuse_planete-notifications.jar

EXPOSE 8080

CMD [ "java", "-jar", "joyeuse_planete-notifications.jar" ]
11 changes: 11 additions & 0 deletions orders/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM openjdk:17

ARG JAVA_FILE=build/libs/*.jar

WORKDIR /usr/src/app

COPY ${JAVA_FILE} joyeuse_planete-orders.jar

EXPOSE 8080

CMD [ "java", "-jar", "joyeuse_planete-orders.jar" ]
11 changes: 11 additions & 0 deletions payment/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM openjdk:17

ARG JAVA_FILE=build/libs/*.jar

WORKDIR /usr/src/app

COPY ${JAVA_FILE} joyeuse_planete-payment.jar

EXPOSE 8080

CMD [ "java", "-jar", "joyeuse_planete-payment.jar" ]

0 comments on commit 5f442fe

Please sign in to comment.