Files
awesome-agentic-ai/Dockerfile

19 lines
397 B
Docker

# Use official Python image
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Copy backend files
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Expose FastAPI port
EXPOSE 8000
# Default command runs main backend (FastAPI)
# Can be overridden in docker-compose for MoE router
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]