mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Merge branch 'master' into dockerrewrite
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user