From d0386ee8accc8657abf0287bf244a40d8ff506d5 Mon Sep 17 00:00:00 2001 From: James Magahern Date: Sat, 15 Feb 2025 14:57:31 -0800 Subject: [PATCH] Dockerfile: make this work for clean builds also. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ae07969..9cdad17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ COPY package*.json ./ COPY frontend/package*.json ./frontend/ # Install dependencies -RUN npm ci -RUN cd frontend && npm ci +RUN npm i +RUN cd frontend && npm i # Copy source files COPY . . @@ -26,7 +26,7 @@ WORKDIR /app # Install only production dependencies COPY package*.json ./ -RUN npm ci --production +RUN npm i --production # Copy built files COPY --from=builder /app/build ./build