From cfc5229964483c2f97307018369e5fe1bcb65da4 Mon Sep 17 00:00:00 2001
From: Alex Tran <alex.tran1502@gmail.com>
Date: Tue, 29 Mar 2022 20:25:00 -0500
Subject: [PATCH] Fixed issue with container cannot find module

---
 docker/docker-compose.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 0f4944c4cb..6a0016f59c 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -6,7 +6,7 @@ services:
     build:
       context: ../server
       dockerfile: ../server/Dockerfile
-    command: npm run start:prod
+    entrypoint: ["/bin/sh", "./entrypoint.sh"]
     expose:
       - "3000"
     volumes:
@@ -28,7 +28,7 @@ services:
     build:
       context: ../microservices
       dockerfile: ../microservices/Dockerfile
-    command: npm run start:prod
+    entrypoint: ["/bin/sh", "./entrypoint.sh"]
     expose:
       - "3001"
     volumes: