diff --git a/Dockerfile b/Dockerfile index 53f5249c15be2fcdf3e06b6971d4c00800ec4d9d..71cbe79c023a9bc9f059576b830d4e468967c625 100644 --- a/Dockerfile +++ b/Dockerfile @@ -128,8 +128,8 @@ ARG SETUPTOOLS_SCM_PRETEND_VERSION='0.0' RUN pip install ".[parsing,infrastructure,dev]" -# Install "default" plugins. TODO: This can be removed once we have proper -# distributions projects. +# Install "default" plugins. TODO: This can be removed once we have a proper +# distribution project. RUN ./scripts/install_default_plugins.sh \ RUN ./scripts/generate_docs_artifacts.sh \ @@ -176,6 +176,11 @@ RUN pip install --progress-bar off --prefer-binary -r requirements.txt COPY --from=dev_python /app/dist/nomad-lab-*.tar.gz . RUN pip install nomad-lab-*.tar.gz +# Install "default" plugins. TODO: This can be removed once we have a proper +# distribution project. +COPY scripts/install_default_plugins.sh ./scripts/install_default_plugins.sh +RUN ./scripts/install_default_plugins.sh \ + # Reduce the size of the packages RUN find /usr/local/lib/python3.9/ -type d -name 'tests' ! -path '*/networkx/*' -exec rm -r '{}' + \ && find /usr/local/lib/python3.9/ -type d -name 'test' -exec rm -r '{}' + \