Smart-MP-Rekomend / Dockerfile
MarfinF's picture
- fix docker copy requirements.txt
1eae99a
raw
history blame
317 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN python -c "from transformers import pipeline; pipeline('zero-shot-classification', model='MarfinF/marfin_emotion')"
COPY . .
CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "7860"]