terry-li-hm
commited on
Commit
·
2c0d66a
1
Parent(s):
983b133
`qts8n/cuda-python`
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# FROM nvidia/cuda:12.0.0-cudnn8-devel-ubuntu22.04
|
2 |
-
FROM python:3.9
|
3 |
# FROM wallies/python-cuda:3.10-cuda11.6-runtime
|
4 |
-
|
5 |
# RUN sudo apt-get remove --purge '^nvidia-.*'
|
6 |
# RUN sudo apt-get remove --purge '^libnvidia-.*'
|
7 |
# RUN sudo apt-get autoremove
|
@@ -24,7 +24,7 @@ RUN pip install --no-cache-dir --upgrade pip
|
|
24 |
COPY --chown=user . $HOME/app
|
25 |
COPY ./requirements.txt ~/app/requirements.txt
|
26 |
|
27 |
-
RUN apt-get install nvidia-driver-545.92
|
28 |
|
29 |
RUN pip install -r requirements.txt
|
30 |
# RUN lspci | grep NVIDIA
|
|
|
1 |
# FROM nvidia/cuda:12.0.0-cudnn8-devel-ubuntu22.04
|
2 |
+
# FROM python:3.9
|
3 |
# FROM wallies/python-cuda:3.10-cuda11.6-runtime
|
4 |
+
FROM qts8n/cuda-python
|
5 |
# RUN sudo apt-get remove --purge '^nvidia-.*'
|
6 |
# RUN sudo apt-get remove --purge '^libnvidia-.*'
|
7 |
# RUN sudo apt-get autoremove
|
|
|
24 |
COPY --chown=user . $HOME/app
|
25 |
COPY ./requirements.txt ~/app/requirements.txt
|
26 |
|
27 |
+
# RUN apt-get install nvidia-driver-545.92
|
28 |
|
29 |
RUN pip install -r requirements.txt
|
30 |
# RUN lspci | grep NVIDIA
|