| FROM tensorflow/tensorflow:2.10.0-gpu | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN mkdir -p /app/model && chmod -R 777 /app/model | |
| COPY app/ ./app/ | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] |