TuberVision / Dockerfile
cisdeli
Bind Gradio to HF port
1f2a93b
Raw History Blame Contribute Delete
319 Bytes
FROM python:3.12
WORKDIR /app
ENV YOLO_CONFIG_DIR=/tmp/Ultralytics
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
COPY . .
RUN pip install --upgrade pip
RUN pip install -e ".[app]"
RUN pip install -r app/requirements.txt
CMD ["python", "app/app.py"]