From 533a26e0c409530f946b9dd0aecadca73b5c4c1b Mon Sep 17 00:00:00 2001 From: Yaxue Guo Date: Fri, 10 Jan 2025 13:12:52 -0500 Subject: [PATCH] updated docker-entrypoint file --- docker-entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 8d6ad41f..8855d344 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -4,7 +4,8 @@ cd /code if [[ "$1" == 'run_server' ]]; then # defaults to running on port 5000 - npm install --verbose + npm cache clean --force + npm install --verbose --legacy-peer-deps npm run build npm install -g serve serve -s build -l 5000