Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
# Start with a base image that includes CUDA
|
2 |
FROM nvidia/cuda:11.4.1-base-ubuntu20.04
|
3 |
|
|
|
|
|
|
|
|
|
4 |
# Set the timezone
|
5 |
ENV TZ=Europe/Berlin
|
6 |
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|
|
|
1 |
# Start with a base image that includes CUDA
|
2 |
FROM nvidia/cuda:11.4.1-base-ubuntu20.04
|
3 |
|
4 |
+
RUN apt update && apt install -y software-properties-common
|
5 |
+
RUN add-apt-repository ppa:deadsnakes/ppa
|
6 |
+
RUN apt install -y python3.9
|
7 |
+
|
8 |
# Set the timezone
|
9 |
ENV TZ=Europe/Berlin
|
10 |
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|