We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3179768 commit cbcde8dCopy full SHA for cbcde8d
scripts/update-Dockerfile.sh
@@ -14,7 +14,7 @@ for dockerfile in ./docker/Dockerfile .rhdh/docker/Dockerfile; do
14
# trim existing COPY lines
15
sed -i "/# BEGIN COPY package.json files/,/# END COPY package.json files/c# BEGIN COPY package.json files\n# END COPY package.json files" $dockerfile
16
# add new COPY lines
17
- for path in $(find . -name package.json | grep -v node_modules/ | sort -uV); do
+ for path in $(find . -name package.json | grep -E -v "node_modules/|dynamic-plugins-root/" | sort -uV); do
18
sed -i "s|\# BEGIN COPY package.json files|\# BEGIN COPY package.json files\nCOPY ${path/\./\$EXTERNAL_SOURCE_NESTED} $path|g" $dockerfile
19
done
20
0 commit comments