Skip to content

Commit

Permalink
fix(api): use npm install until nrwl/nx#22386 is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmasberg committed Mar 19, 2024
1 parent 44de771 commit 904f60f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ ENV NODE_ENV=production
# Install dependencies separately for caching
COPY ./dist/apps/api/package.json ./dist/apps/api/package-lock.json ./

RUN npm --omit=dev ci
# Change to npm ci when https://github.com/nrwl/nx/issues/22386 is fixed
RUN npm install --omit=dev

COPY ./dist/apps/api ./

Expand Down

0 comments on commit 904f60f

Please sign in to comment.