Spaces:
Sleeping
Sleeping
File size: 317 Bytes
13bf7e6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy files
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port Hugging Face expects
EXPOSE 7860
# Start the Flask app using Gunicorn
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
|