On Wed, Mar 24, 2021 at 11:25:46AM +0800, Lu Weitao wrote:
[Why] use node:alpine as a Builder for build h5ai we can reduce install app such: nginx, node, npm to save deploy time
Signed-off-by: Lu Weitao luweitaobe@163.com
container/srv-http/Dockerfile | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/container/srv-http/Dockerfile b/container/srv-http/Dockerfile index 6564730..81a8a45 100644 --- a/container/srv-http/Dockerfile +++ b/container/srv-http/Dockerfile @@ -1,25 +1,30 @@ # SPDX-License-Identifier: MulanPSL-2.0+ # Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
-FROM alpine:3.9 +FROM node:alpine as Builder
You can add
MAINTAINER Lu Weitao luweitaobe@163.com
here. So others would know who is the maintainer of this service.
Thanks, Yuanchao