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 && \