model-oily-dry-normal / Dockerfile
Akiteam's picture
adding files
a497782
Raw
History Blame Contribute Delete
461 Bytes
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 8000
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]