From 915fb3bf156041a873faab92d0957fb2792b810f Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Sat, 21 May 2022 21:29:40 +0100 Subject: [PATCH] Update Dockerfile switch to node slim, 50% file size reduction! --- docker/Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 54af827a..9ab749f6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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