mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-10 05:59:40 -05:00
startup and install apps as non-root user
This commit is contained in:
@@ -11,12 +11,10 @@ RUN apt-get update \
|
||||
&& rm -rf lzma1604 \
|
||||
&& npm install -g forever
|
||||
|
||||
RUN npm install greenlock-cli \
|
||||
RUN adduser --quiet meshcentral \
|
||||
&& chmod +x /startmeshcentral.sh \
|
||||
&& adduser --quiet meshcentral
|
||||
|
||||
RUN su - meshcentral \
|
||||
&& npm install meshcentral node-7z
|
||||
&& su - meshcentral \
|
||||
&& npm install meshcentral node-7z greenlock-cli
|
||||
|
||||
ENV PORT 443
|
||||
ENV REDIRPORT 80
|
||||
|
||||
Reference in New Issue
Block a user