From ec244729979811c4b82d29abc70ec7ced367a0b7 Mon Sep 17 00:00:00 2001 From: Gernot Maier Date: Fri, 11 Aug 2023 10:03:29 +0200 Subject: [PATCH] fix dev installation --- dev/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev/Dockerfile b/dev/Dockerfile index 7c8f7d4..d777bfa 100644 --- a/dev/Dockerfile +++ b/dev/Dockerfile @@ -43,11 +43,12 @@ RUN wget --quiet https://bootstrap.pypa.io/get-pip.py && \ python3 get-pip.py && \ ln -s /usr/bin/python3 /usr/bin/python -RUN wget --quiet https://raw.githubusercontent.com/gammasim/simtools/main/setup.py && \ - wget --quiet https://raw.githubusercontent.com/gammasim/simtools/main/pyproject.toml +RUN wget --quiet https://raw.githubusercontent.com/gammasim/simtools/main/pyproject.toml && \ + pip install toml-to-requirements && \ + toml-to-req --toml-file pyproject.toml --include-optional RUN cd /workdir/ && \ - pip install '.[tests,dev,doc]' + pip install -r requirements.txt ENV SIMTEL_PATH="/workdir/sim_telarray/" SHELL ["/bin/bash", "-c"]