Skip to content

Commit 18a2760

Browse files
committed
Ensure we pick up the latest fairgraph, by invalidating the cache if fairgraph has changed
1 parent 0e4f99a commit 18a2760

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

validation_service_api/deployment/Dockerfile.staging

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ LABEL org.opencontainers.image.authors="Andrew Davison <[email protected]>"
1717

1818
WORKDIR /code
1919

20+
ADD https://api.github.com/repos/HumanBrainProject/fairgraph/git/refs/heads/master fairgraph_version.json
21+
RUN git clone https://github.com/HumanBrainProject/fairgraph.git --branch=master --single-branch
22+
RUN pip install ./fairgraph
23+
2024
COPY requirements.txt.lock /code/requirements.txt
2125
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
2226

0 commit comments

Comments
 (0)