|
@@ -3,6 +3,7 @@ ENV TZ Asia/Shanghai
|
|
MAINTAINER wangliang@qmth.com.cn
|
|
MAINTAINER wangliang@qmth.com.cn
|
|
|
|
|
|
WORKDIR /opt
|
|
WORKDIR /opt
|
|
|
|
+COPY . .
|
|
RUN npm config set registry http://registry.cnpmjs.org && npm config set registry http://registry.npm.taobao.org
|
|
RUN npm config set registry http://registry.cnpmjs.org && npm config set registry http://registry.npm.taobao.org
|
|
RUN npm install
|
|
RUN npm install
|
|
RUN NODE_OPTIONS=--max_old_space_size=4096 npm run build
|
|
RUN NODE_OPTIONS=--max_old_space_size=4096 npm run build
|