diff --git a/archon-ui-main/Dockerfile b/archon-ui-main/Dockerfile index f36ed4c1..2ad5d5ff 100644 --- a/archon-ui-main/Dockerfile +++ b/archon-ui-main/Dockerfile @@ -21,9 +21,5 @@ COPY . . # Expose Vite's default port EXPOSE 5173 -# Add a small startup script to wait a moment before starting Vite -# This helps ensure the backend is fully ready even after healthcheck passes -RUN echo '#!/bin/sh\nsleep 3\nexec npm run dev -- --host 0.0.0.0' > /app/start.sh && chmod +x /app/start.sh - # Start Vite dev server with host binding for Docker -CMD ["/app/start.sh"] \ No newline at end of file +CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]