From 079f406bcce0c2af7f58216d11c32f474885476c Mon Sep 17 00:00:00 2001 From: kshitijrajsharma Date: Tue, 5 Dec 2023 11:23:39 +0545 Subject: [PATCH] Do not add root user as root is there already --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ec83ee68..44aa2bba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,8 +54,8 @@ FROM runner as prod COPY --from=tippecanoe-builder /usr/local/bin/tippecanoe* /usr/local/bin/ COPY --from=tippecanoe-builder /usr/local/bin/tile-join /usr/local/bin/ -RUN useradd --system --uid 900 --home-dir /home/root --shell /bin/false root \ - && chown -R root:root /home/root +# RUN useradd --system --uid 900 --home-dir /home/root --shell /bin/false root \ +# && chown -R root:root /home/root USER root