[PATCH v2] dts: fix runner target in the Dockerfile
Juraj Linkeš
juraj.linkes at pantheon.tech
Wed Sep 18 09:57:31 CEST 2024
> diff --git a/dts/Dockerfile b/dts/Dockerfile
> @@ -24,9 +27,12 @@ FROM base AS runner
> +# Adds ~/.local/bin to PATH so that packages installed with pipx are callable. `pipx ensurepath`
> +# fixes this issue, but requires the shell to be re-opened which isn't an option for this target.
Let's explain this a bit more, I don't really know why this isn't an option.
> +ENV PATH="$PATH:/root/.local/bin"
> +RUN poetry install --only main --no-root
>
> -CMD ["poetry", "run", "python", "main.py"]
> +ENTRYPOINT ["poetry", "run", "python", "main.py"]
>
More information about the dev
mailing list