Hannes Kuchelmeister
commited on
Commit
•
8edb126
1
Parent(s):
91867af
modify Dockerfiles to include git
Browse files- Dockerfile +2 -0
- DockerfileCUDA +3 -0
Dockerfile
CHANGED
@@ -4,8 +4,10 @@ WORKDIR /usr/src/app
|
|
4 |
|
5 |
RUN apt-get update
|
6 |
RUN apt-get install libgl1 -y
|
|
|
7 |
|
8 |
COPY requirements.txt ./
|
9 |
RUN pip install --no-cache-dir -r requirements.txt
|
10 |
|
|
|
11 |
COPY . .
|
|
|
4 |
|
5 |
RUN apt-get update
|
6 |
RUN apt-get install libgl1 -y
|
7 |
+
Run apt-get install git -y
|
8 |
|
9 |
COPY requirements.txt ./
|
10 |
RUN pip install --no-cache-dir -r requirements.txt
|
11 |
|
12 |
+
RUN mkdir -p /.cache && chmod 777 /.cache
|
13 |
COPY . .
|
DockerfileCUDA
CHANGED
@@ -4,9 +4,12 @@ WORKDIR /usr/src/app
|
|
4 |
|
5 |
RUN apt-get update
|
6 |
RUN apt-get install libgl1 -y
|
|
|
7 |
|
8 |
COPY requirements.txt ./
|
9 |
RUN pip install --no-cache-dir -r requirements.txt
|
10 |
|
|
|
|
|
11 |
COPY . .
|
12 |
|
|
|
4 |
|
5 |
RUN apt-get update
|
6 |
RUN apt-get install libgl1 -y
|
7 |
+
Run apt-get install git -y
|
8 |
|
9 |
COPY requirements.txt ./
|
10 |
RUN pip install --no-cache-dir -r requirements.txt
|
11 |
|
12 |
+
|
13 |
+
RUN mkdir -p /.cache && chmod 777 /.cache
|
14 |
COPY . .
|
15 |
|