Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
confuser committed Apr 9, 2024
1 parent 14a2d3d commit b64af96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ RUN apk add --no-cache python3 make g++
WORKDIR /usr/src/app
# copy project file
COPY package*.json ./
COPY .npmrc ./

#
# ---- Dependencies ----
FROM base AS dependencies
# install node packages
RUN npm set progress=false && npm config set depth 0
ENV NPM_CONFIG_LOGLEVEL warn
RUN npm ci --no-audit --only=production
RUN npm ci --no-audit --omit=dev

#
# ---- Release ----
Expand Down

0 comments on commit b64af96

Please sign in to comment.