fix(Dockerfile): remove hardcoded exposed port (#2106)

build: remove hardcoded exposed port
This commit is contained in:
Karl Anthony Baluyot
2024-08-14 00:16:03 +08:00
committed by GitHub
parent a2571024a9
commit 6bb537da5c

View File

@@ -169,9 +169,6 @@ USER anythingllm
ENV NODE_ENV=production
ENV ANYTHING_LLM_RUNTIME=docker
# Expose the server port
EXPOSE 3001
# Setup the healthcheck
HEALTHCHECK --interval=1m --timeout=10s --start-period=1m \
CMD /bin/bash /usr/local/bin/docker-healthcheck.sh || exit 1