Skip to content

Commit a77acfd

Browse files
committed
ENH: Install tractolearn from GitHub
Install `tractolearn` from GitHub
1 parent cf9e61f commit a77acfd

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

Dockerfile

+16-13
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,7 @@ ENV PATH="/opt/ants-2.3.4:$PATH"
55
ENV TZ=America/Toronto
66
ENV SETUPTOOLS_SCM_PRETEND_VERSION="0.1.0"
77

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
209

2110
RUN apt-get update -qq && \
2211
apt-get install -y -q --no-install-recommends \
@@ -52,7 +41,21 @@ RUN rm -rf /var/lib/apt/lists/* && \
5241
| tar -xz -C /opt/ants-2.3.4 --strip-components 1
5342

5443
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
5659

5760
RUN cd /tractolearn && \
5861
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

Comments
 (0)