Pharmacy / Dockerfile
Pushpak21's picture
Upload folder using huggingface_hub
740ad3c verified
raw
history blame contribute delete
298 Bytes
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy everything into the container
COPY . .
# Install dependencies
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Run the app using gunicorn with 4 workers
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]