From b3efbf3f4a946ee13ac5c216cec97583f32df455 Mon Sep 17 00:00:00 2001 From: Fionn Date: Tue, 24 Sep 2024 21:20:58 +0200 Subject: [PATCH] improve dockerfile --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0db4800..7775d09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,11 +27,9 @@ USER node FROM base as build -ENV NODE_ENV development - COPY --chown=node:node . . -RUN npm install && npm cache clean --force +RUN npm install --include=dev && npm cache clean --force ENV PATH /opt/node_modules/.bin:$PATH RUN tsc -p ./tsconfig.node.json && \