File size: 307 Bytes
a940bc4 e74a3cd a940bc4 e74a3cd a940bc4 e74a3cd a940bc4 e74a3cd a940bc4 46dcd1f |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
FROM python:3.10
WORKDIR /fruit_recognition
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY main.py models/fruit_recognition_model.pth ./models/
COPY templates/ ./templates
COPY metadata.json .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |