diff --git a/deploy/Dockerfile b/deploy/Dockerfile index c142182..352fa1a 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -6,15 +6,16 @@ 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 - + COPY --from=builder /root/dist /usr/share/nginx/html WORKDIR /