We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c58039 commit fd1ab73Copy full SHA for fd1ab73
Dockerfile
@@ -10,7 +10,7 @@ RUN hugo build \
10
--cleanDestinationDir \
11
--config /src/config.toml
12
13
-RUN find /src/public -type f \( -name '*.html' -o -name '*.css' -o -name '*.js' -o -name '*.xml' -o -name '*.json' -o -name '*.svg' -o -name '*.txt' \) -print0 | xargs -0 -P4 -n32 gzip --best -kf
+RUN find /src/public -type f \( -name '*.html' -o -name '*.css' -o -name '*.js' -o -name '*.xml' -o -name '*.json' -o -name '*.svg' -o -name '*.txt' \) -print0 | xargs -0 -P4 -n32 --no-run-if-empty gzip --best -kf
14
15
# ---------------------------------------------------
16
0 commit comments