From feb87873fbc2d4e5604ee7bd4eded6a8feaf342f Mon Sep 17 00:00:00 2001 From: Christbru Date: Sun, 19 Oct 2025 10:35:47 -0500 Subject: [PATCH] Correct user uid for container app execution --- rust-engine/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-engine/Dockerfile b/rust-engine/Dockerfile index 3bdf30a..cf22a44 100644 --- a/rust-engine/Dockerfile +++ b/rust-engine/Dockerfile @@ -53,7 +53,7 @@ RUN cargo build --release --locked FROM debian:bookworm-slim RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/* -RUN useradd --system --uid 10001 --no-create-home --shell /usr/sbin/nologin appuser +RUN useradd --system --uid 1004 --no-create-home --shell /usr/sbin/nologin appuser # Copy the compiled binary from the builder stage COPY --from=builder /usr/src/app/target/release/rust-engine /usr/local/bin/rust-engine