IntentFinal / Dockerfile
Pavankalyan's picture
Update Dockerfile
98347b2
raw
history blame contribute delete
466 Bytes
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')"