Merge pull request #2 from FileGo/docker-optimise

Changed base image to node:16-alpine
master
Vasiliy 2 years ago committed by GitHub
commit 4387a99639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,13 +1,10 @@
FROM debian:stable
MAINTAINER Vasyl Zakharchenko <vaszakharchenko@gmail.com>
FROM node:16-alpine
LABEL maintainer="Vasyl Zakharchenko <vaszakharchenko@gmail.com>"
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 []

Loading…
Cancel
Save