Merge branch 'master' into dockerrewrite

This commit is contained in:
DaanSelen
2025-05-19 11:32:18 +02:00
committed by GitHub
9 changed files with 124 additions and 32 deletions

View File

@@ -34,6 +34,7 @@ RUN cd meshcentral \
&& npm uninstall html-minifier jsdom esprima
# cleanup for inter-container copying.
RUN rm -rf /opt/meshcentral/meshcentral/docker
RUN rm -rf /opt/meshcentral/meshcentral/node_modules
@@ -167,6 +168,7 @@ RUN cd meshcentral && npm install
# Expose only 443 by default to reduce attack surface. (Only encrypted ports).
EXPOSE 443
# These volumes will be created by default even without any declaration, this allows default persistence in Docker/Podman.
VOLUME /opt/meshcentral/meshcentral-data
VOLUME /opt/meshcentral/meshcentral-files