Set uid to 1000 in dockerfile

This commit is contained in:
Artur
2025-06-03 14:49:47 -03:00
parent 87daacf7d1
commit b7f0c23975

View File

@@ -12,7 +12,7 @@ RUN cargo build --release
FROM alpine:3
COPY --from=builder /build/target/release/rust-monero-explorer-api /usr/local/bin
RUN addgroup -S cuprate && adduser -S cuprate -G cuprate
RUN addgroup -g 1000 -S cuprate && adduser -u 1000 -S cuprate -G cuprate
USER cuprate
EXPOSE 8081