File size: 499 Bytes
b27bdc5 896a7ee 1387aa5 896a7ee b3516ce 4fd3e7d 4556da0 896a7ee b74d516 1387aa5 dab22b2 b27bdc5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM pytorch/pytorch:2.4.1-cuda12.4-cudnn9-runtime
ARG DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
RUN useradd -m -u 1000 user
RUN apt-get update && apt-get install build-essential ffmpeg libsm6 libxext6 git git-lfs --no-install-recommends -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir gradio opencv-python pandas ultralytics onnx onnxruntime
USER user
WORKDIR /app
COPY --chown=user ./ /app
EXPOSE 1071
CMD ["python", "/app/UI/Main.py"] |