few more docker clean ups to make smaller size
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
Simon Smith committed
Jun 9, 2025 at 19:20 UTC
b1876f0fcf73a9a548cba1cca2a724c0bc2c15ea
1 file changed
+3
-1
docker/Dockerfile
+3
-1
@@ -171,7 +171,9 @@ RUN case "$INCLUDE_MARIADB_TOOLS" in \
171
172
# install dependencies from package.json
173
RUN cd meshcentral && \
174
- npm install
174
+ npm install && \
175
+ npm cache clean --force && \
176
+ rm -rf /root/ /tmp/
177
178
# Expose needed ports
179
EXPOSE 80 443