From 1cc3d296b018e370f73efad072e215dd6bb4fa36 Mon Sep 17 00:00:00 2001 From: Cogent Apps Date: Wed, 15 Mar 2023 20:00:43 +0000 Subject: [PATCH] set default port for docker --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 1c9a6ef3..f96a76b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,5 +39,6 @@ RUN CI=true sh -c "cd /app && mkdir data && npm run start && rm -rf data" COPY --from=build /app/build /app/public LABEL org.opencontainers.image.source="https://github.com/cogentapps/chat-with-gpt" +ENV PORT 3000 CMD ["npm", "run", "start"] \ No newline at end of file