Add port 8001 to Dockerfile EXPOSE directive

This commit is contained in:
xuwei-fit2cloud
2025-08-27 11:22:16 +08:00
committed by GitHub
parent 53f1ebe89f
commit 4852147f97
+2 -2
View File
@@ -63,10 +63,10 @@ WORKDIR ${SQLBOT_HOME}/app
RUN mkdir -p /opt/sqlbot/images /opt/sqlbot/g2-ssr
EXPOSE 3000 8000
EXPOSE 3000 8000 8001
# Add health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD curl -f http://localhost:8000 || exit 1
ENTRYPOINT ["sh", "start.sh"]
ENTRYPOINT ["sh", "start.sh"]