EyeQC / Dockerfile
rdharini2001's picture
EyeQC
6fe482b
Raw
History Blame Contribute Delete
310 Bytes
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PORT=7860
WORKDIR /app
# opencv-python-headless needs no system GL libs; keep the image lean.
COPY requirements.txt .
RUN pip install --upgrade pip && pip install -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]