diff --git a/New_College.Api/Dockerfile b/New_College.Api/Dockerfile index 318840a..a5a24cc 100644 --- a/New_College.Api/Dockerfile +++ b/New_College.Api/Dockerfile @@ -27,7 +27,7 @@ RUN git status RUN git log -1 # 进入项目所在目录并恢复和发布项目 -WORKDIR /source/newgaokao/New_College.Api +WORKDIR /source/new_college.api RUN dotnet restore RUN dotnet publish -c release -o /app --no-restore -f net6.0 diff --git a/New_College.Api/New_College.Api.csproj b/New_College.Api/New_College.Api.csproj index 4891979..8c4ed04 100644 --- a/New_College.Api/New_College.Api.csproj +++ b/New_College.Api/New_College.Api.csproj @@ -71,7 +71,7 @@ - Never + Always