Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y libgl1 libglib2.0-0 && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY models/blaze_face_short_range.tflite ./models/blaze_face_short_range.tflite | |
| COPY transforms.py . | |
| COPY mobilenetv2.py . | |
| COPY predict.py . | |
| COPY app.py . | |
| COPY models ./models | |
| # EXPOSE 7860 | |
| CMD uvicorn app:app --host 0.0.0.0 --port $PORT |