From 4a23800000eedb2f89b9d2747e842c2848b38ecb Mon Sep 17 00:00:00 2001 From: Cedric-Magnan <43343135+Cedric-Magnan@users.noreply.github.com> Date: Thu, 9 Nov 2023 20:18:51 +0100 Subject: [PATCH] Update Dockerfile --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9e29ef3..549d4be 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,7 +17,7 @@ WORKDIR /home/docker_user/workspace # Install Poetry RUN curl -sSL https://install.python-poetry.org | python3 - -ENV PATH="${PATH}:/home/docker_user/.poetry/bin:/home/docker_user/poetry/bin" +ENV PATH="/home/docker_user/.local/bin:$PATH COPY pyproject.toml ./ COPY poetry.lock ./ @@ -26,4 +26,6 @@ RUN poetry install --no-root --only main COPY . /home/docker_user/workspace/ +RUN poetry install --only main + CMD ["poetry", "run", "launch_github_app"]