|
@@ -8,7 +8,6 @@ WORKDIR /opt
|
|
|
COPY . .
|
|
|
RUN npm config set registry http://registry.cnpmjs.org && npm config set registry http://registry.npm.taobao.org
|
|
|
RUN echo "${INSTALL_VALUE}"
|
|
|
-RUN NODE_OPTIONS=--max_old_space_size=4096 npm run build
|
|
|
|
|
|
FROM nginx:1.27.4 AS production-stage
|
|
|
ENV TZ Asia/Shanghai
|