architrace-extraction / Dockerfile
bobca3's picture
Switch to Docker SDK; serve uvicorn app:app so /v1/* routes are reachable
1beb0f3 verified
Raw History Blame Contribute Delete
266 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
# Serve the combined app: FastAPI (/v1/*) with Gradio mounted at "/"
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]