Spaces:
Sleeping
Sleeping
File size: 324 Bytes
7d00655 36de86c 7d00655 36de86c a5bdaf8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # Use a lightweight Python image
FROM python:3.10-slim
# Set the working directory
WORKDIR /app
# Copy all files to the container
COPY . /app
# Install dependencies
RUN pip install -r requirements.txt
# Expose port 7860
EXPOSE 7860
# Run the FastAPI app
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |