diff --git a/webui/Dockerfile b/webui/Dockerfile index 5a2288c..e5d4f42 100644 --- a/webui/Dockerfile +++ b/webui/Dockerfile @@ -13,6 +13,8 @@ FROM almalinux:9 ARG TAG LABEL stage=production +ENV NODE_ENV=production + RUN dnf -y update && \ dnf -y module reset nodejs && \ dnf -y module enable nodejs:20 && \ @@ -41,7 +43,7 @@ RUN curl https://raw.githubusercontent.com/rucio/rucio/master/tools/merge_rucio_ RUN git clone --depth 1 -b ${TAG} -- https://github.com/rucio/webui.git ${RUCIO_WEBUI_PATH} RUN npm i -g pm2 -RUN npm install +RUN npm install --omit=dev COPY docker-entrypoint.sh / COPY httpd.conf.j2 /tmp/