Fix: Do not break build if node modules cannot be deleted

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-03-24 22:43:08 +01:00
parent 97fa3b69fb
commit 1167c9e99f
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -21,7 +21,7 @@ RUN set -ex \
webpack-cli \
&& npx npm@lts install --loglevel warn \
&& npx npm@lts run build \
&& rm -rf node_modules \
&& rm -rf node_modules || true \
&& NODE_ENV=production npx npm@lts install --loglevel warn \
&& npx npm@lts install sqlite3