Commit e8c7b1ee authored by 黄奎's avatar 黄奎

页面修改

parent 1faf7826
...@@ -22,6 +22,9 @@ ...@@ -22,6 +22,9 @@
<Reference Include="Aspose.Cells"> <Reference Include="Aspose.Cells">
<HintPath>..\lib\Aspose.Cells.dll</HintPath> <HintPath>..\lib\Aspose.Cells.dll</HintPath>
</Reference> </Reference>
<Reference Include="Aspose.Words">
<HintPath>..\..\think_project2\Api\lib\18.7\Aspose.Words.dll</HintPath>
</Reference>
</ItemGroup> </ItemGroup>
</Project> </Project>
This diff is collapsed.
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/aspnet:3.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:3.0 AS build
WORKDIR /src
COPY ["Edu.WebApi/Edu.WebApi.csproj", "Edu.WebApi/"]
COPY ["Edu.Module.EduTask/Edu.Module.EduTask.csproj", "Edu.Module.EduTask/"]
COPY ["Edu.Repository/Edu.Repository.csproj", "Edu.Repository/"]
COPY ["Edu.Common/Edu.Common.csproj", "Edu.Common/"]
COPY ["Edu.Model/Edu.Model.csproj", "Edu.Model/"]
COPY ["Edu.Aop/Edu.Aop.csproj", "Edu.Aop/"]
COPY ["Edu.Cache/Edu.Cache.csproj", "Edu.Cache/"]
COPY ["Edu.Module.User/Edu.Module.User.csproj", "Edu.Module.User/"]
COPY ["Edu.ThirdCore/Edu.ThirdCore.csproj", "Edu.ThirdCore/"]
COPY ["Edu.Module.Log/Edu.Module.Log.csproj", "Edu.Module.Log/"]
COPY ["Edu.Module.Course/Edu.Module.Course.csproj", "Edu.Module.Course/"]
COPY ["Edu.Module.Goods/Edu.Module.Goods.csproj", "Edu.Module.Goods/"]
COPY ["Edu.Module.Public/Edu.Module.Public.csproj", "Edu.Module.Public/"]
COPY ["Edu.Module.Exam/Edu.Module.Exam.csproj", "Edu.Module.Exam/"]
COPY ["Edu.Module.Question/Edu.Module.Question.csproj", "Edu.Module.Question/"]
COPY ["Edu.Module.Web/Edu.Module.Web.csproj", "Edu.Module.Web/"]
COPY ["Edu.Module.QYWeChat/Edu.Module.QYWeChat.csproj", "Edu.Module.QYWeChat/"]
COPY ["Edu.Module.StudyAbroad/Edu.Module.StudyAbroad.csproj", "Edu.Module.StudyAbroad/"]
COPY ["Edu.Module.Customer/Edu.Module.Customer.csproj", "Edu.Module.Customer/"]
COPY ["Edu.Module.System/Edu.Module.System.csproj", "Edu.Module.System/"]
COPY ["Edu.Module.OKR/Edu.Module.OKR.csproj", "Edu.Module.OKR/"]
COPY ["Edu.Module.Finance/Edu.Module.Finance.csproj", "Edu.Module.Finance/"]
COPY ["Edu.Module.Duty/Edu.Module.Duty.csproj", "Edu.Module.Duty/"]
COPY ["Edu.Module.Advertising/Edu.Module.Advertising.csproj", "Edu.Module.Advertising/"]
RUN dotnet restore "Edu.WebApi/Edu.WebApi.csproj"
COPY . .
WORKDIR "/src/Edu.WebApi"
RUN dotnet build "Edu.WebApi.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "Edu.WebApi.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "Edu.WebApi.dll"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment