FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive ENV HOME=/root RUN apt-get update && apt-get install -y \ curl wget git python3 python3-pip nodejs npm \ build-essential sudo locales \ && locale-gen en_US.UTF-8 \ && rm -rf /var/lib/apt/lists/* # Install code-server RUN curl -fsSL https://code-server.dev/install.sh | sh # Install Python packages RUN pip3 install fastapi uvicorn httpx requests openai anthropic python-dotenv structlog rich psutil # Create workspace RUN mkdir -p /workspace # Create README in workspace RUN printf '# God Agent VS Code Sandbox\n\nBackend: https://pyae1994-autonomous-coding-system.hf.space\n\nTest the backend:\n```bash\ncurl https://pyae1994-autonomous-coding-system.hf.space/api/v1/health\n```\n' > /workspace/README.md EXPOSE 7860 CMD ["/bin/bash", "-c", "export PASSWORD=\"$VSCODE_PASSWORD\" && code-server --bind-addr 0.0.0.0:7860 --auth password --disable-telemetry /workspace"]