Remove port 4501 and update health check to not require ttyd service

This commit is contained in:
cto-new[bot]
2026-02-08 09:57:38 +00:00
parent 9889a6e4fd
commit ce8a0cdf15
7 changed files with 1246 additions and 1270 deletions

View File

@@ -105,7 +105,6 @@ RUN chmod 644 /root/.config/powershell/Microsoft.PowerShell_profile.ps1
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
COPY scripts/healthcheck.sh /usr/local/bin/healthcheck.sh
COPY scripts/diagnostic-logger.sh /usr/local/bin/diagnostic-logger.sh
COPY scripts/ttyd-proxy.js /usr/local/bin/ttyd-proxy.js
RUN chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/healthcheck.sh /usr/local/bin/diagnostic-logger.sh
# Chat web service assets
@@ -122,8 +121,7 @@ WORKDIR /home/web/data
# Container defaults - Shopify AI App Builder
# Port 4500: Web UI (chat/builder interface)
# Port 4501: ttyd terminal
EXPOSE 4501 4500
EXPOSE 4500
HEALTHCHECK --interval=30s --timeout=15s --start-period=60s --retries=5 \
CMD /usr/local/bin/healthcheck.sh || exit 1