Skip to content

Commit

Permalink
ci: 💚 fix copy empty node_modules during turbo build
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Ruck committed Oct 22, 2023
1 parent 14d1164 commit acf9d95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infra/Dockerfile.service
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ WORKDIR /app

COPY . .
RUN turbo prune --scope=$SERVICE --docker
# FIX ERROR: failed to solve: cannot copy to non-directory: …/app/services/qr-code-handler/node_modules/tsup-config
RUN find . -name "node_modules" -type d -exec rm -rf {} +

# Add lockfile and package.json's of isolated subworkspace
FROM base AS installer
Expand Down

0 comments on commit acf9d95

Please sign in to comment.