This commit is contained in:
杨毅 2024-10-02 14:57:14 +08:00
parent 89b63cede6
commit 453bffed77

View File

@ -12,7 +12,7 @@ EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["/root/asg1/asg_backend/asg_form/asg_form.csproj", "/"]
COPY ["/asg_form.csproj", "/"]
RUN dotnet restore "./root/asg1/asg_backend/asg_form/asg_form.csproj"
COPY . .
WORKDIR "/root/asg1/asg_backend/asg_form"