Spaces:
Paused
Paused
chemprop git clone
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -88,7 +88,7 @@ RUN --mount=target=requirements.txt,source=requirements.txt \
|
|
| 88 |
pip install --no-cache-dir --upgrade -r requirements.txt
|
| 89 |
|
| 90 |
# Pull chemprop from github
|
| 91 |
-
RUN git clone https://github.com/chemprop/chemprop.git
|
| 92 |
|
| 93 |
# build an empty conda environment with appropriate Python version
|
| 94 |
RUN conda create --name chemprop_env python=3.11*
|
|
@@ -96,7 +96,7 @@ RUN conda create --name chemprop_env python=3.11*
|
|
| 96 |
SHELL ["conda", "run", "--no-capture-output", "-n", "chemprop_env", "/bin/bash", "-c"]
|
| 97 |
|
| 98 |
# Follow the installation instructions then clear the cache
|
| 99 |
-
ADD
|
| 100 |
ADD LICENSE.txt pyproject.toml README.md ./
|
| 101 |
RUN conda install pytorch cpuonly -c pytorch && \
|
| 102 |
conda clean --all --yes && \
|
|
|
|
| 88 |
pip install --no-cache-dir --upgrade -r requirements.txt
|
| 89 |
|
| 90 |
# Pull chemprop from github
|
| 91 |
+
RUN git clone https://github.com/chemprop/chemprop.git chemprop
|
| 92 |
|
| 93 |
# build an empty conda environment with appropriate Python version
|
| 94 |
RUN conda create --name chemprop_env python=3.11*
|
|
|
|
| 96 |
SHELL ["conda", "run", "--no-capture-output", "-n", "chemprop_env", "/bin/bash", "-c"]
|
| 97 |
|
| 98 |
# Follow the installation instructions then clear the cache
|
| 99 |
+
ADD chemprop /data/chemprop
|
| 100 |
ADD LICENSE.txt pyproject.toml README.md ./
|
| 101 |
RUN conda install pytorch cpuonly -c pytorch && \
|
| 102 |
conda clean --all --yes && \
|