Skip to content

Commit 1aec619

Browse files
committed
fix: pin atlas user to uid/gid 1000 to match compose default
1 parent 487d20e commit 1aec619

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apk add --no-cache ca-certificates postgresql16-client
1515

1616
COPY --from=builder /app/target/release/atlas-server /usr/local/bin/
1717

18-
RUN addgroup -S atlas && adduser -S atlas -G atlas \
18+
RUN addgroup -S -g 1000 atlas && adduser -S -u 1000 atlas -G atlas \
1919
&& mkdir -p /snapshots \
2020
&& chown atlas:atlas /snapshots
2121
USER atlas

0 commit comments

Comments
 (0)