From 8b924f518e3c9c2e72cbeec3947da16c649b7535 Mon Sep 17 00:00:00 2001 From: Robin Tuszik <47579899+rtuszik@users.noreply.github.com> Date: Fri, 23 Aug 2024 23:10:44 +0200 Subject: [PATCH] refactor: update Dockerfile to remove unnecessary user creation The Dockerfile no longer creates a non-root user, as it is not needed for the application. This simplifies the build process and reduces complexity. --- Dockerfile | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 52f5206..f5b829e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,15 +6,6 @@ ENV PYTHONUNBUFFERED=1 WORKDIR /app -RUN adduser \ - --disabled-password \ - --gecos "" \ - --home "/nonexistent" \ - --shell "/sbin/nologin" \ - --no-create-home \ - --uid "${UID}" \ - appuser - COPY requirements.txt . RUN --mount=type=cache,target=/root/.cache/pip \