Browse Source

修改

master
wenlele 2 years ago
parent
commit
bf09db17bf
  1. 14
      web/Dockerfile

14
web/Dockerfile

@ -3,6 +3,20 @@ FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12
COPY . /var/app COPY . /var/app
WORKDIR /var/app WORKDIR /var/app
EXPOSE 8080 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 config set registry=http://10.8.30.22:7000
RUN npm cache clean -f RUN npm cache clean -f
#RUN npm install -g node-gyp #RUN npm install -g node-gyp

Loading…
Cancel
Save