TornikeO commited on
Commit
3bdb44b
·
1 Parent(s): b31ccfa

oops, git was needed.

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,12 +1,13 @@
1
  FROM pytorch/pytorch:2.2.1-cuda11.8-cudnn8-devel
2
 
 
 
 
3
  # Set the working directory to /code
4
  WORKDIR /code
5
  COPY ./requirements.txt /code/requirements.txt
6
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
7
 
8
- # RUN apt-get update && apt-get install -y --no-install-recommends git && \
9
- # apt-get clean && rm -rf /var/lib/apt/lists/*
10
 
11
  # Set up a new user named "user" with user ID 1000
12
  RUN useradd -m -u 1000 user
 
1
  FROM pytorch/pytorch:2.2.1-cuda11.8-cudnn8-devel
2
 
3
+ RUN apt-get update && apt-get install -y --no-install-recommends git && \
4
+ apt-get clean && rm -rf /var/lib/apt/lists/*
5
+
6
  # Set the working directory to /code
7
  WORKDIR /code
8
  COPY ./requirements.txt /code/requirements.txt
9
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
10
 
 
 
11
 
12
  # Set up a new user named "user" with user ID 1000
13
  RUN useradd -m -u 1000 user