From 029503ed082020c25a02ef756896a1e49c6aa4a8 Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 3 Mar 2024 13:54:22 -0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3cb4e2530c..c4bbf021a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,9 +15,10 @@ COPY . . # Install without scripts RUN npm ci --omit=dev --ignore-scripts \ # Copy production node_modules aside for later - && cp -R node_modules prod_node_modules \ - # Install all dependencies - && npm ci \ + && cp -R node_modules prod_node_modules + +# Install all dependencies +RUN npm ci \ # Run build steps && npm run build