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