set default port for docker

main
Cogent Apps 2023-03-15 20:00:43 +00:00
parent 84c5066abd
commit 1cc3d296b0
1 changed files with 1 additions and 0 deletions

View File

@ -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 COPY --from=build /app/build /app/public
LABEL org.opencontainers.image.source="https://github.com/cogentapps/chat-with-gpt" LABEL org.opencontainers.image.source="https://github.com/cogentapps/chat-with-gpt"
ENV PORT 3000
CMD ["npm", "run", "start"] CMD ["npm", "run", "start"]