|
|
@ -9,7 +9,7 @@ COPY . ./
|
|
|
|
COPY docker/config.prod.ts ./src/config/config.prod.ts
|
|
|
|
COPY docker/config.prod.ts ./src/config/config.prod.ts
|
|
|
|
|
|
|
|
|
|
|
|
# 在国内打开下面一行加速
|
|
|
|
# 在国内打开下面一行加速
|
|
|
|
#RUN npm config set registry https://registry.npm.taobao.org/ && npm config set sass-binary-site http://npm.taobao.org/mirrors/node-sass
|
|
|
|
#RUN npm config set registry https://registry.npmmirror.com/ && npm config set sass-binary-site http://npm.taobao.org/mirrors/node-sass
|
|
|
|
|
|
|
|
|
|
|
|
RUN npm install && \
|
|
|
|
RUN npm install && \
|
|
|
|
npm install typescript -g && \
|
|
|
|
npm install typescript -g && \
|
|
|
|