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"]