few more docker clean ups to make smaller size

Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
Simon Smith 2025-06-09 19:20:53 +01:00
parent ec3e06e37f
commit b1876f0fcf

View File

@ -171,7 +171,9 @@ RUN case "$INCLUDE_MARIADB_TOOLS" in \
# install dependencies from package.json
RUN cd meshcentral && \
npm install
npm install && \
npm cache clean --force && \
rm -rf /root/ /tmp/
# Expose needed ports
EXPOSE 80 443