text-classification / Dockerfile
manue
Add initial project files including Dockerfile, app, sentiment model, requirements, and .gitignore
7106645
raw
history blame
150 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5000
EXPOSE 7860
CMD ["python", "app.py"]