diff --git a/Dockerfile b/Dockerfile index dfb4a49..80cc115 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ FROM node:lts-alpine # Install dependencies but skip dev dependencies COPY --from=build /app/package*.json /app/.npmrc ./ -RUN npm install --only=production +RUN npm install --only=production --omit=dev # Copy the app COPY --from=build /app/dist ./dist