blitzkrieg0000 commited on
Commit
b27bdc5
·
verified ·
1 Parent(s): dab22b2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,13 +1,13 @@
1
- FROM python:3.11.5
2
 
3
  RUN useradd -m -u 1000 user
 
4
  WORKDIR /app
5
  COPY --chown=user ./requirements.txt requirements.txt
6
  RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
7
- RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
8
  RUN pip install gradio opencv-python pandas ultralytics
9
 
10
  COPY --chown=user . /app
11
 
12
  EXPOSE 1071
13
- CMD ["python", "/app/UI/Main.py"]
 
1
+ FROM pytorch/pytorch:2.4.1-cuda12.4-cudnn9-runtime
2
 
3
  RUN useradd -m -u 1000 user
4
+
5
  WORKDIR /app
6
  COPY --chown=user ./requirements.txt requirements.txt
7
  RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
 
8
  RUN pip install gradio opencv-python pandas ultralytics
9
 
10
  COPY --chown=user . /app
11
 
12
  EXPOSE 1071
13
+ CMD ["python", "/app/UI/Main.py"]