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

修正vue里面图片路径和dockerfile 镜像生成

上级 c0f7e271
......@@ -2,7 +2,7 @@
VITE_PORT = 3100
# spa-title
VITE_GLOB_APP_TITLE = IotSharp
VITE_GLOB_APP_TITLE = IoTSharp
# spa shortname
VITE_GLOB_APP_SHORT_NAME = IotSharp
VITE_GLOB_APP_SHORT_NAME = IoTSharp
{
"name": "vben-admin",
"version": "2.5.2",
"author": {
"name": "vben",
"email": "anncwb@126.com",
"url": "https://github.com/anncwb"
},
"author": "vben <anncwb@126.com> (https://github.com/anncwb)",
"scripts": {
"bootstrap": "yarn install",
"serve": "npm run dev",
......@@ -157,5 +153,11 @@
"homepage": "https://github.com/anncwb/vue-vben-admin",
"engines": {
"node": "^12 || >=14"
}
},
"description": "<div align=\"center\"> <a href=\"https://github.com/anncwb/vue-vben-admin\"> <img alt=\"VbenAdmin Logo\" width=\"200\" height=\"200\" src=\"https://anncwb.github.io/anncwb/images/logo.png\"> </a> <br> <br>",
"main": ".eslintrc.js",
"directories": {
"test": "tests"
},
"keywords": []
}
......@@ -18,7 +18,7 @@
<div class="my-auto">
<img
:alt="title"
src="../../../assets/images/Logo-Full.png"
src="../../../assets/images/logo-full.png"
class="w-1/2 -mt-16 -enter-x"
/>
<div class="mt-10 font-medium text-red -enter-x">
......@@ -32,7 +32,7 @@
<div class="flex w-full h-full py-5 xl:h-auto xl:py-0 xl:my-0 xl:w-6/12">
<div
:class="`${prefixCls}-form`"
class="relative w-full px-5 py-8 mx-auto my-auto rounded-md shadow-md xl:ml-16 xl:bg-transparent sm:px-8 xl:p-4 xl:shadow-none sm:w-3/4 lg:w-2/4 xl:w-auto enter-x"
class="relative w-full px-5 py-8 mx-auto my-auto rounded-md shadow-md xl:ml-16 xl:bg-transparent sm:px-8 xl:p-4 xl:shadow-none sm:w-3/4 lg:w-2/4 xl:w-auto enter-x"
>
<LoginForm />
<ForgetPasswordForm />
......
......@@ -52,8 +52,10 @@ RUN dotnet build "IoTSharp.csproj" -c Release -o /app/build
FROM node:14-buster AS web
WORKDIR /web
RUN npm config set registry http://registry.npm.taobao.org/ && \
yarn config set registry http://registry.npm.taobao.org/
COPY ../ClientApp/Vue/package*.json ./
RUN yarn install
RUN yarn install
COPY ../ClientApp/Vue ./
RUN yarn build
......@@ -66,5 +68,5 @@ RUN dotnet publish "IoTSharp.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
COPY --from=web /web/dist ./wwwroot/
COPY --from=web /web/dist ./wwwroot
ENTRYPOINT ["dotnet", "IoTSharp.dll"]
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册