author | jordan <jordan@doyle.la> | 2023-08-30 17:37:54.0 +01:00:00 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-30 17:37:54.0 +01:00:00 |
commit | 2b463298818b01d64b483bed5cf28b56555f5af7 [patch] |
|
tree | 516ce8074c877289885cdd8fcc5b8d6baa3e0425 |
|
parent | 509a6bd91392a60df67fa16b5441ec9253c45e2f |
|
parent | 8c46d65fc5eed8683b27c4656707966f8fdeeabe |
|
download | 2b463298818b01d64b483bed5cf28b56555f5af7.tar.gz |
Merge pull request #22 from stappersg/drop_user_nobody
Dockerfile: Drop user nobody
Diff
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"]