|
|
@ -6,11 +6,12 @@ COPY . /root |
|
|
|
# yum install -y devtoolset-8-gcc devtoolset-8-gcc-c++ && \ |
|
|
|
# source /opt/rh/devtoolset-8/enable && \ |
|
|
|
RUN yarn config set strict-peer-dependencies false && \ |
|
|
|
yarn config set sass_binary_site https://npmmirror.com/mirrors/node-sass && \ |
|
|
|
yarn config set registry http://172.16.32.57:8931/repository/npm-group/ && \ |
|
|
|
yarn cache clean && \ |
|
|
|
yarn install --verbose && \ |
|
|
|
yarn run build |
|
|
|
yarn config set ignore-engines true && \ |
|
|
|
yarn config set sass_binary_site https://npmmirror.com/mirrors/node-sass && \ |
|
|
|
yarn config set registry http://172.16.32.57:8931/repository/npm-group/ && \ |
|
|
|
yarn cache clean && \ |
|
|
|
yarn install --verbose && \ |
|
|
|
yarn run build |
|
|
|
|
|
|
|
# Second stage: minimal runtime environment |
|
|
|
FROM registry.datameta.com:8180/public/nginx:1.25-alpine |
|
|
|