CHRIS / Dockerfile
dzs
Added the docker and requirements file needed to host on huggingface.com
cae45c6
# Use Python base image
FROM python:3.12
# Set working directory
WORKDIR /app
# Copy current files into container
COPY . /app
# Install Flask
RUN pip install --no-cache-dir -r requirements.txt
# Expose default port
EXPOSE 7860
# Run with Gunicorn
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "CHRIS:app"]