File size: 233 Bytes
7b4c232
 
 
 
 
d824bde
2c210ef
59a8836
7b4c232
 
1
2
3
4
5
6
7
8
9
10
FROM python:3.10-slim

WORKDIR /app

COPY . .
RUN pip install --upgrade pip
RUN pip install fastapi uvicorn tensorflow numpy requests sentencepiece nltk scikit-learn


CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]