# Use official Python image FROM python:3.10-slim # Set working directory WORKDIR /app # Copy all project files COPY . . # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose the port for FastAPI EXPOSE 8001 # Command to run the FastAPI app with uvicorn CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8001"]