From 704c38798e49bd86d88750a7efdea9a824ab0419 Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Thu, 12 Oct 2023 17:53:00 +0200 Subject: [PATCH] Add pip install for doc generation in Dockerfile --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7abcd33..a36a9b6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -184,6 +184,7 @@ USER pyros_user RUN mkdir -p ./vendor/guitastro/install/ RUN mkdir -p ./install/ +RUN mkdir -p ./doc/doc_rst/ # Copy local host machine files to image # Dockerfile contains this volume => ../..:/home/pyros_user/app @@ -191,7 +192,7 @@ RUN mkdir -p ./install/ COPY ./vendor/guitastro/install/requirements.in ./vendor/guitastro/install/requirements.in COPY ./install/requirements.txt ./install/requirements.txt COPY ./install/requirements_dev.txt ./install/requirements_dev.txt - +COPY ./doc/doc_rst/requirements.txt ./doc/doc_rst/requirements.txt # Adding local/bin to path to avoid pip warning ENV PATH "$PATH:/home/pyros_user/.local/bin" @@ -219,3 +220,4 @@ RUN python3 -m pip install --user -r ./vendor/guitastro/install/requirements.txt # Installing packages required for PyROS RUN python3 -m pip install --user -r ./install/requirements.txt RUN python3 -m pip install --user -r ./install/requirements_dev.txt +RUN python3 -m pip install --user -r ./doc/doc_rst/requirements.txt -- libgit2 0.21.2