Commit 8a957d17 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Merge branch 'dev-dockerupdate' into 'v0.7.2'

Updated dockerfile to cache the NOMAD-COE dependencies whenever possible.

See merge request !74
parents cc655bd7 10f714c8
Pipeline #66614 passed with stages
in 13 minutes and 32 seconds
......@@ -54,9 +54,15 @@ RUN pip install -r requirements.txt
# Use docker build --build-args CACHEBUST=2 to not cache this (e.g. when you know deps have changed)
ARG CACHEBUST=1
# Install all NOMAD-CoE dependencies and nomad@FAIRDI
COPY . /install
# Install all NOMAD-CoE dependencies. This is done separately because most of
# the time this comes directly from docker cache
COPY ./dependencies /install/dependencies
COPY ./dependencies.sh /install/dependencies.sh
COPY ./.gitmodules /install/.gitmodules
RUN sh dependencies.sh
# Copy rest of files and install nomad@FAIRDI
COPY . /install
RUN pip install .
WORKDIR /install/docs
RUN make html
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment