From d9026744f7a81acf99a94af701cd6abebce7f4d6 Mon Sep 17 00:00:00 2001 From: paychex-inder <126612463+paychex-inder@users.noreply.github.com> Date: Wed, 11 Feb 2026 00:50:26 -0500 Subject: [PATCH] fix: use && instead of ; in Dockerfile to fail on frontend build errors --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7cda70178b51..e825c8a22201 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,8 +40,8 @@ COPY --chown=node:node . . RUN \ # React client build - NODE_OPTIONS="--max-old-space-size=2048" npm run frontend; \ - npm prune --production; \ + NODE_OPTIONS="--max-old-space-size=2048" npm run frontend && \ + npm prune --production && \ npm cache clean --force # Node API setup