From c7de1032f082992866f1b28c373a8c1d82d26837 Mon Sep 17 00:00:00 2001 From: FileGo Date: Fri, 24 Dec 2021 10:37:11 +0000 Subject: [PATCH] Changed base image to node:16-alpine --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index c95d9d2..7e0c410 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,10 @@ -FROM debian:stable -MAINTAINER Vasyl Zakharchenko +FROM node:16-alpine +LABEL maintainer="Vasyl Zakharchenko " LABEL author="Vasyl Zakharchenko" LABEL email="vaszakharchenko@gmail.com" LABEL name="huawei-hilink" -ENV DEBIAN_FRONTEND noninteractive -RUN apt-get update && apt-get install -y nodejs npm # Bundle APP files RUN npm i huawei-hilink@1.1.7 -g -# Install app dependencies ENV NPM_CONFIG_LOGLEVEL warn ENTRYPOINT ["/usr/local/bin/huawei-hilink"] CMD []