From d51dfc8e2ad9d9cbf529c2bc3f752c356af87f4d Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Wed, 19 Jul 2023 18:25:49 +0100 Subject: [PATCH] Hadolint suggestion --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f50fc21e9..3126df0af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,8 +38,8 @@ RUN curl -sSL "https://install.python-poetry.org" | python - # Add poetry's bin directory to PATH ENV PATH="$POETRY_HOME/bin:$PATH" -RUN useradd --create-home app -RUN mkdir -p /home/app/code +RUN useradd --create-home app && \ + mkdir -p /home/app/code WORKDIR /home/app/code # Copy files used by poetry