Spaces:
Sleeping
Sleeping
File size: 445 Bytes
867584c d6b48cf 867584c 935a09b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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 |