Merge pull request #4031 from si458/patch-1

Update Dockerfile
This commit is contained in:
Ylian Saint-Hilaire 2022-05-21 18:41:44 -07:00 committed by GitHub
commit 946f1bb9d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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