From 521336032b8b0260a0d6ddf7eb96aeb4bfd2ff19 Mon Sep 17 00:00:00 2001 From: Wong Chee Hong Date: Wed, 15 Nov 2023 03:20:27 +0800 Subject: [PATCH] Expoes ports in docker file --- code_execution/Dockerfile.prod | 1 + matching_service/Dockerfile.prod | 1 + 2 files changed, 2 insertions(+) diff --git a/code_execution/Dockerfile.prod b/code_execution/Dockerfile.prod index b096b053..a34999a3 100644 --- a/code_execution/Dockerfile.prod +++ b/code_execution/Dockerfile.prod @@ -13,6 +13,7 @@ WORKDIR /usr/src/app COPY package*.json ./ RUN npm ci --only=production COPY --from=builder /app/dist ./dist +EXPOSE 8090 # Command to run the application CMD ["npm", "run", "serve"] \ No newline at end of file diff --git a/matching_service/Dockerfile.prod b/matching_service/Dockerfile.prod index b096b053..48558a99 100644 --- a/matching_service/Dockerfile.prod +++ b/matching_service/Dockerfile.prod @@ -13,6 +13,7 @@ WORKDIR /usr/src/app COPY package*.json ./ RUN npm ci --only=production COPY --from=builder /app/dist ./dist +EXPOSE 8082 # Command to run the application CMD ["npm", "run", "serve"] \ No newline at end of file