提交 0bdab543 编写于 作者: 麦壳饼's avatar 麦壳饼

针对vue版本 调整docker文件

上级 68acc650
......@@ -29,7 +29,9 @@ RUN KEYRING=/usr/share/keyrings/nodesource.gpg && curl -fsSL https://deb.nodesou
WORKDIR /src
COPY ["IoTSharp/ClientAppVue/package.json", "IoTSharp/ClientAppVue/package.json"]
RUN npm install -g yarn && yarn add node-sass@4.14.1 --cwd ./IoTSharp/ClientAppVue/ && yarn install --cwd ./IoTSharp/ClientAppVue/
RUN npm install -g yarn && yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g && \
yarn config set registry https://registry.npm.taobao.org -g && \
yarn add node-sass --cwd ./IoTSharp/ClientAppVue/ && yarn install --cwd ./IoTSharp/ClientAppVue/
COPY ["IoTSharp/IoTSharp.csproj", "IoTSharp/"]
COPY ["IoTSharp.Contracts/IoTSharp.Contracts.csproj", "IoTSharp.Contracts/"]
COPY ["IoTSharp.Data.Storage/IoTSharp.Data.Cassandra/IoTSharp.Data.Cassandra.csproj", "IoTSharp.Data.Storage/IoTSharp.Data.Cassandra/"]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册