Spaces:
Runtime error

agentready / Dockerfile
sk1999's picture
Deploy AgentReady v0.2.0 (Docker Space)
e014005 verified
Raw History Blame Contribute Delete
461 Bytes
FROM python:3.12-slim
WORKDIR /app
COPY pyproject.toml README.md ./
COPY src ./src
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir .
EXPOSE 8000
# Hosted audit always runs with SSRF protection on (no allow_private).
# Honor $PORT when the platform injects one (Render/Railway/Heroku); default 8000 (Fly/local).
CMD ["sh", "-c", "exec python -m uvicorn agentready.api:app --host 0.0.0.0 --port ${PORT:-8000} --log-level warning"]