Aaa / Dockerfile
Arena Agent
Fix SDK config: docker instead of gradio, add Dockerfile for FastAPI app
058b51b
Raw History Blame Contribute Delete
325 Bytes
FROM python:3.10-slim
# Install requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app
COPY app.py .
# Create data directory
RUN mkdir -p /data && chmod 777 /data
# Expose port
EXPOSE 7860
# Run FastAPI server
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]