From bf09db17bf0add78f955022b709220a1ed2f3e7d Mon Sep 17 00:00:00 2001 From: wenlele Date: Tue, 17 Jan 2023 16:49:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/web/Dockerfile b/web/Dockerfile index e8abd65..80a25fe 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -3,6 +3,20 @@ FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12 COPY . /var/app WORKDIR /var/app EXPOSE 8080 + +RUN apk update && apk add --no-cache \ + sudo \ + curl \ + build-base \ + g++ \ + libpng \ + libpng-dev \ + jpeg-dev \ + pango-dev \ + cairo-dev \ + giflib-dev \ + python \ + ; RUN npm config set registry=http://10.8.30.22:7000 RUN npm cache clean -f #RUN npm install -g node-gyp