Merge pull request #4595 from lndbrg/master

Recommend a safer find command
This commit is contained in:
Fredrik Adelöw
2021-02-19 11:50:31 +01:00
committed by GitHub
+1 -1
View File
@@ -141,7 +141,7 @@ COPY package.json yarn.lock ./
COPY packages packages
COPY plugins plugins
RUN find packages \! -name "package.json" -mindepth 2 -maxdepth 2 -print | xargs rm -rf
RUN find packages \! -name "package.json" -mindepth 2 -maxdepth 2 -exec rm -rf {} \+
# Stage 2 - Install dependencies and build packages
FROM node:14-buster-slim AS build