Spaces:
Sleeping
Sleeping
File size: 321 Bytes
144e345 4714014 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | FROM python:3.11-slim
# Set the working directory in the container
WORKDIR /app
# Copy all files into the container
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port
EXPOSE 7860
# Run the FastAPI app
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"] |