DataEngEnv / Dockerfile
CoBeDigger's picture
fix: mount Gradio directly onto FastAPI to prevent HTTP 404 conflicts on evaluator routes
edd5fd2
Raw History Blame Contribute Delete
216 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
ENV PORT=7860
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]