Remove port 4501 and update health check to not require ttyd service
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user