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