From 441c933064626e94256a4f5c688f0433019e9d6f Mon Sep 17 00:00:00 2001 From: SomesH S Date: Mon, 27 May 2024 18:52:25 +0000 Subject: [PATCH] Dockerfile - add env SERVER_PORT=80 and update EXPOSE --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c262aeb..246e0ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,7 @@ COPY --from=sssomeshhh/rentify:fe /root/fe/build /root/fe/build COPY --from=sssomeshhh/rentify:be /root/be /root/be WORKDIR /root/be RUN yarn install -EXPOSE 8000 +ENV SERVER_PORT=80 +EXPOSE 80 RUN echo "mongod > /dev/null 2>&1 & disown ; yarn produce ;" > startApp CMD bash ./startApp