From 2b463298818b01d64b483bed5cf28b56555f5af7 Mon Sep 17 00:00:00 2001 From: jordan Date: Wed, 30 Aug 2023 17:37:54 +0100 Subject: [PATCH] Merge pull request #22 from stappersg/drop_user_nobody Dockerfile: Drop user nobody--- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d68762c..b1801aa 100644 --- a/Dockerfile +++ a/Dockerfile @@ -5,11 +5,9 @@ COPY . /sources WORKDIR /sources RUN cargo build --release -RUN chown nobody:nogroup /sources/target/release/rgit FROM debian:bullseye-slim COPY --from=builder /sources/target/release/rgit /rgit -USER nobody EXPOSE 8000 ENTRYPOINT ["/rgit", "[::]:8000", "/git", "-d", "/tmp/rgit-cache.db"] -- rgit 0.1.3