Flexi-API / Dockerfile
Yuchan5386's picture
Update Dockerfile
2e43411 verified
raw
history blame contribute delete
203 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY . .
RUN pip install fastapi uvicorn tensorflow numpy requests sentencepiece nltk scikit-learn
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]