AndreasLH commited on
Commit
ec6ba35
·
1 Parent(s): aa55c37
Files changed (2) hide show
  1. Dockerfile +1 -10
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -4,10 +4,7 @@ FROM python:3.11
4
 
5
  WORKDIR /code
6
 
7
- RUN apt-get update \
8
- && apt-get upgrade -y \
9
- && apt-get install -y \
10
- git
11
 
12
  COPY ./requirements.txt /code/requirements.txt
13
  COPY ./pre-requirements.txt /code/pre-requirements.txt
@@ -15,12 +12,6 @@ COPY ./pre-requirements.txt /code/pre-requirements.txt
15
  RUN pip install --no-cache-dir -r /code/pre-requirements.txt
16
  RUN pip install --no-cache-dir -r /code/requirements.txt
17
 
18
- RUN git clone https://github.com/facebookresearch/pytorch3d.git \
19
- && cd pytorch3d \
20
- && git checkout v0.7.6 \
21
- && pip install -e .
22
-
23
-
24
  # Set up a new user named "user" with user ID 1000
25
  RUN useradd -m -u 1000 user
26
 
 
4
 
5
  WORKDIR /code
6
 
7
+ ENV MAX_JOBS=8
 
 
 
8
 
9
  COPY ./requirements.txt /code/requirements.txt
10
  COPY ./pre-requirements.txt /code/pre-requirements.txt
 
12
  RUN pip install --no-cache-dir -r /code/pre-requirements.txt
13
  RUN pip install --no-cache-dir -r /code/requirements.txt
14
 
 
 
 
 
 
 
15
  # Set up a new user named "user" with user ID 1000
16
  RUN useradd -m -u 1000 user
17
 
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
 
2
 
3
- # git+https://github.com/facebookresearch/[email protected]
4
  git+https://github.com/facebookresearch/detectron2.git
5
 
 
1
 
2
 
3
+ git+https://github.com/facebookresearch/[email protected]
4
  git+https://github.com/facebookresearch/detectron2.git
5