From a4996c825139cb8ca4d26013e8fc4f897a3d84ce Mon Sep 17 00:00:00 2001 From: Divlo Date: Wed, 11 Jan 2023 17:42:29 +0100 Subject: [PATCH] chore: remove useless runner-dependencies in Dockerfile --- Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index a3c7f5b..e427f38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,12 +3,6 @@ WORKDIR /usr/src/application COPY ./package*.json ./ RUN npm install -FROM node:18.13.0 AS runner-dependencies -WORKDIR /usr/src/application -ENV NODE_ENV=production -COPY ./package*.json ./ -RUN npm install --omit=dev --ignore-scripts - FROM node:18.13.0 AS builder WORKDIR /usr/src/application COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules