We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbf952c commit a945d3dCopy full SHA for a945d3d
1 file changed
Dockerfile
@@ -24,4 +24,10 @@ COPY --from=builder /build/PROJECT_VERSION .
24
COPY --from=builder /build/PROJECT_BUILD_DATE .
25
COPY --from=builder /build/PROJECT_COMMIT_HASH .
26
27
+RUN addgroup --gid 10001 xrp && \
28
+ adduser --uid 10001 --gid 10001 --disabled-password --gecos "" xrp && \
29
+ chown xrp:xrp /app/xrp-indexer
30
+
31
+USER xrp
32
33
CMD ["./xrp-indexer"]
0 commit comments