Drawer_Detection / Dockerfile
muhammadhamza-stack
update requirements
01eb829
raw
history blame contribute delete
432 Bytes
FROM python:3.9-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
# Required for OpenCV image display & ultralytics
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
git \
curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]