silaseic commited on
Commit
526d867
1 Parent(s): c1f4153

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -9
Dockerfile CHANGED
@@ -2,13 +2,6 @@
2
  # FROM nvidia/cuda:11.4.1-base-ubuntu20.04
3
  FROM huggingface/accelerate-gpu
4
 
5
- # RUN apt update && apt install -y software-properties-common
6
- # RUN add-apt-repository ppa:deadsnakes/ppa
7
- # RUN apt install -y python3.
8
-
9
- RUN python3 --version
10
- RUN python --version
11
-
12
  # Set the timezone
13
  ENV TZ=Europe/Berlin
14
  RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
@@ -32,8 +25,8 @@ RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
32
  # Set up a new user named "user" with user ID 1000
33
  RUN useradd -m -u 1000 user
34
  # Add write permissions for others to the /usr/local/lib/python3.9/site-packages/oemer/checkpoints/seg_net/ directory
35
- RUN chmod o+w /usr/local/lib/python3.10/dist-packages/oemer/checkpoints/seg_net/
36
- RUN chmod o+w /usr/local/lib/python3.10/dist-packages/oemer/checkpoints/unet_big/
37
 
38
  # Switch to the "user" user
39
  USER user
 
2
  # FROM nvidia/cuda:11.4.1-base-ubuntu20.04
3
  FROM huggingface/accelerate-gpu
4
 
 
 
 
 
 
 
 
5
  # Set the timezone
6
  ENV TZ=Europe/Berlin
7
  RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
 
25
  # Set up a new user named "user" with user ID 1000
26
  RUN useradd -m -u 1000 user
27
  # Add write permissions for others to the /usr/local/lib/python3.9/site-packages/oemer/checkpoints/seg_net/ directory
28
+ # RUN chmod o+w /usr/local/lib/python3.10/dist-packages/oemer/checkpoints/seg_net/
29
+ # RUN chmod o+w /usr/local/lib/python3.10/dist-packages/oemer/checkpoints/unet_big/
30
 
31
  # Switch to the "user" user
32
  USER user