1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-02-15 04:21:51 +00:00

Update Dockerfile

switch to node slim, 50% file size reduction!
This commit is contained in:
Simon Smith 2022-05-21 21:29:40 +01:00 committed by GitHub
parent 42441c1a74
commit 915fb3bf15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,6 @@
# Filename: Dockerfile # Filename: Dockerfile
FROM ubuntu:latest FROM node:slim
# Disable Prompt During Packages Installation
ARG DEBIAN_FRONTEND=noninteractive
#install dependencies
RUN apt-get update && apt-get install -y nodejs npm nano
#Add non-root user, add installation directories and assign proper permissions #Add non-root user, add installation directories and assign proper permissions
RUN mkdir -p /opt/meshcentral RUN mkdir -p /opt/meshcentral