From 0bf707d0dee936cef59ccefc5e3b53de4bb02ace Mon Sep 17 00:00:00 2001 From: jachen-sh <107783392+jachen-sh@users.noreply.github.com> Date: Thu, 25 Jul 2024 10:41:58 -0700 Subject: [PATCH] fix aptos user uid (#9) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b8ee2a..6de36bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN apt-get update && \ apt-get install -y --no-install-recommends curl ca-certificates procps && \ rm -rf /var/lib/apt/lists/* -RUN adduser --uid 1000 --home /aptos --gecos '' --disabled-password aptos +RUN adduser --uid 1002 --home /aptos --gecos '' --disabled-password aptos WORKDIR /aptos # https://github.com/aptos-labs/aptos-core/blob/a72ef8a716ecf3ab207c8377cb94c9c5aedaf5b4/crates/aptos/src/node/local_testnet/mod.rs#L236 @@ -58,6 +58,6 @@ COPY --from=builder \ USER aptos EXPOSE 8080 -EXPOSE 9102 +EXPOSE 9101 ENTRYPOINT ["aptos-node"]