Skip to content

Commit

Permalink
improve dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dotFionn committed Sep 24, 2024
1 parent 9fa1fd9 commit b3efbf3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit b3efbf3

Please sign in to comment.