From 555c6e1faca0989b64a4fcc69ca64f5d02bdc146 Mon Sep 17 00:00:00 2001 From: mrasheduzzaman Date: Sun, 9 Jun 2024 09:47:46 +0600 Subject: [PATCH] fix: comment out unused section --- Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 32811b9..b8a2d68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,16 +56,16 @@ WORKDIR /app # Create a non-privileged user that the app will run under. # See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user -ARG UID=10001 -RUN adduser \ - --disabled-password \ - --gecos "" \ - --home "/nonexistent" \ - --shell "/sbin/nologin" \ - --no-create-home \ - --uid "${UID}" \ - appuser -USER appuser +# ARG UID=10001 +# RUN adduser \ +# --disabled-password \ +# --gecos "" \ +# --home "/nonexistent" \ +# --shell "/sbin/nologin" \ +# --no-create-home \ +# --uid "${UID}" \ +# appuser +# USER appuser COPY --from=builder /app/.env /app/.env COPY --from=builder /app/target/release/${APP_NAME} /app/${APP_NAME}