@@ -5,18 +5,7 @@ ENV PATH="/opt/ants-2.3.4:$PATH"
5
5
ENV TZ=America/Toronto
6
6
ENV SETUPTOOLS_SCM_PRETEND_VERSION="0.1.0"
7
7
8
- WORKDIR /home/fdumais/Desktop/Acuity/20221219_Bundling/20221219_FIESTA/final_tractolearn/tractolearn
9
-
10
- ADD configs /tractolearn/configs
11
- ADD doc /tractolearn/doc
12
- ADD fonts /usr/share/fonts/
13
- ADD LICENSE /tractolearn/LICENSE
14
- ADD pyproject.toml /tractolearn/pyproject.toml
15
- ADD README.md /tractolearn/README.md
16
- ADD scripts /tractolearn/scripts/
17
- ADD setup.cfg /tractolearn/setup.cfg
18
- ADD tox.ini /tractolearn/tox.ini
19
- ADD tractolearn /tractolearn/tractolearn/
8
+ WORKDIR /tractolearn
20
9
21
10
RUN apt-get update -qq && \
22
11
apt-get install -y -q --no-install-recommends \
@@ -52,7 +41,21 @@ RUN rm -rf /var/lib/apt/lists/* && \
52
41
| tar -xz -C /opt/ants-2.3.4 --strip-components 1
53
42
54
43
RUN pip install -U pip
55
- RUN cd /tractolearn && pip install -e .
44
+
45
+ RUN pip install git+https://github.com/scil-vital/tractolearn.git@{version} tractolearn
46
+
47
+ ADD configs /tractolearn/configs
48
+ ADD doc /tractolearn/doc
49
+ ADD fonts /usr/share/fonts/
50
+ ADD LICENSE /tractolearn/LICENSE
51
+ ADD pyproject.toml /tractolearn/pyproject.toml
52
+ ADD README.md /tractolearn/README.md
53
+ ADD scripts /tractolearn/scripts/
54
+ ADD setup.cfg /tractolearn/setup.cfg
55
+ ADD tox.ini /tractolearn/tox.ini
56
+ ADD tractolearn /tractolearn/tractolearn/
57
+
58
+ RUN cd /tractolearn
56
59
57
60
RUN cd /tractolearn && \
58
61
pip3.8 install torch==1.8.1+cu111 torchvision==0.9.1+cu111 -f https://download.pytorch.org/whl/cu111/torch_stable.html
0 commit comments