# Use official Python image FROM python:3.8 # Set the working directory WORKDIR /app # Copy project files into the container COPY . /app # Install dependencies RUN pip install -r requirements.txt RUN mkdir -p /app/uploads && chmod 777 /app/uploads # Expose the port FastAPI will run on EXPOSE 7860 # Start the API CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]