From 4ab5512d33491c37165f53bbc6e21a201079e808 Mon Sep 17 00:00:00 2001 From: thomastomy5 <69713148+thomastomy5@users.noreply.github.com> Date: Tue, 24 Mar 2026 15:56:37 +0530 Subject: [PATCH] #683091439 missing user in docker --- wavefront/client/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wavefront/client/Dockerfile b/wavefront/client/Dockerfile index dfaa1fe3..c061a78c 100644 --- a/wavefront/client/Dockerfile +++ b/wavefront/client/Dockerfile @@ -27,9 +27,12 @@ FROM node:22-alpine WORKDIR /app RUN corepack enable && corepack prepare pnpm@${PNPM_VERSION} +RUN chown node:node /app -COPY --from=build /app/dist ./dist -COPY --from=build /app/server.cjs ./ +COPY --from=build --chown=node:node /app/dist ./dist +COPY --from=build --chown=node:node /app/server.cjs ./ + +USER node RUN pnpm install express@4.21.2 compression@^1.8.0 EXPOSE 3000