iris-classifier / Dockerfile
23f2002478's picture
Update Dockerfile
12d1d6d verified
raw
history blame contribute delete
206 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]