Skip to content

Commit

Permalink
chore: use mindepth
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 30, 2023
1 parent f99a7d7 commit 82adcdd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ RUN npm_config_build_from_source=true npm rebuild @serialport/bindings-cpp
RUN [ -d 'dist' ] && echo "Skipping build" || npm run build

RUN npm prune --omit=dev && \
find . -maxdepth 1 \
! -name "." \
find . -mindepth 1 -maxdepth 1 \
! -name "node_modules" \
! -name "snippets" \
! -name ".git" \
Expand Down

0 comments on commit 82adcdd

Please sign in to comment.