Create NPM's home directory so it can write cache files and logs
authorPablo Zmdl <redacted>
Fri, 23 May 2025 16:14:01 +0000 (18:14 +0200)
committerPablo Zmdl <redacted>
Fri, 23 May 2025 16:14:01 +0000 (18:14 +0200)
development/Dockerfile

index d4aba8533e98614261b4f5f7c589e7b41146c145..596c04d6f84e1f903b8e3c23b206c8d74bf9c1c0 100644 (file)
@@ -18,6 +18,8 @@ RUN install -d -o www-data -g www-data /var/roundcube
 # Pre-download js dependencies (these don't change much over time).
 ENV CACHEDIR=/var/cache/roundcubemail/jsdeps
 RUN install -o www-data -d "$CACHEDIR"
+# Create NPM's home directory so it can write cache files and logs.
+RUN install -o www-data -d /var/www/.npm
 
 USER www-data
 
git clone https://git.99rst.org/PROJECT