Spaces:
Runtime error
Runtime error
File size: 466 Bytes
8f4c005 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
FROM python:3.9-slim-bullseye
RUN apt-get -y update && \
apt-get install -y --no-install-recommends build-essential \
curl wget nginx ca-certificates npm \
&& npm install pm2 -g \
&& pip install --upgrade pip setuptools \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN python -c "from transformers import pipeline; classifier = pipeline('zero-shot-classification', model='facebook/bart-large-mnli')" |