mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-25 14:45:52 -05:00
Update Dockerfile
switch to node slim, 50% file size reduction!
This commit is contained in:
parent
42441c1a74
commit
915fb3bf15
@ -1,12 +1,6 @@
|
||||
# Filename: Dockerfile
|
||||
|
||||
FROM ubuntu:latest
|
||||
|
||||
# Disable Prompt During Packages Installation
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
#install dependencies
|
||||
RUN apt-get update && apt-get install -y nodejs npm nano
|
||||
FROM node:slim
|
||||
|
||||
#Add non-root user, add installation directories and assign proper permissions
|
||||
RUN mkdir -p /opt/meshcentral
|
||||
|
Loading…
Reference in New Issue
Block a user