Skip to content

Commit

Permalink
build[#140]: add --no-cache to Nx build process
Browse files Browse the repository at this point in the history
  • Loading branch information
shimisnow committed Nov 11, 2024
1 parent 0157d14 commit 7dade8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/auth-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM pocnestjs-base-dev:latest as base

WORKDIR /home/node/app
COPY . .
RUN npx nx build auth-service --prod
RUN npx nx build auth-service --prod --no-cache

##########
FROM pocnestjs-base-prod:latest
Expand Down
2 changes: 1 addition & 1 deletion apps/financial-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM pocnestjs-base-dev:latest as base

WORKDIR /home/node/app
COPY . .
RUN npx nx build financial-service --prod
RUN npx nx build financial-service --prod --no-cache

##########
FROM pocnestjs-base-prod:latest
Expand Down

0 comments on commit 7dade8b

Please sign in to comment.