From a94680e0837a53401b0fddfad3a8012c2a536773 Mon Sep 17 00:00:00 2001 From: zhangziqian <84625273+Musicminion@users.noreply.github.com> Date: Fri, 2 Feb 2024 18:06:28 +0800 Subject: [PATCH] Update Dockerfile --- dev-patches/web-dockerfile/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-patches/web-dockerfile/Dockerfile b/dev-patches/web-dockerfile/Dockerfile index bdff2a3..70a6c56 100644 --- a/dev-patches/web-dockerfile/Dockerfile +++ b/dev-patches/web-dockerfile/Dockerfile @@ -51,7 +51,7 @@ CMD ["node", "--expose-gc", "app.js"] # the dev is suitable for running tests FROM deps as dev -USER node + ARG SENTRY_RELEASE ENV SENTRY_RELEASE=$SENTRY_RELEASE COPY services/web /overleaf/services/web @@ -59,7 +59,7 @@ COPY services/web /overleaf/services/web # Build the latex parser RUN cd /overleaf/services/web && npm run 'lezer-latex:generate' - +USER node # the webpack image has deps+src+webpack artifacts