bug
This commit is contained in:
parent
140234f61b
commit
d33037e868
@ -12,10 +12,10 @@ EXPOSE 8081
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
WORKDIR /src
|
||||
COPY ["asg_form/asg_form.csproj", "asg_form/"]
|
||||
RUN dotnet restore "./asg_form/asg_form.csproj"
|
||||
COPY ["/asg_form.csproj", "/"]
|
||||
RUN dotnet restore "./asg_form.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/asg_form"
|
||||
WORKDIR "/root/asg1/asg_backend/asg_form"
|
||||
RUN dotnet build "./asg_form.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||
|
||||
# 此阶段用于发布要复制到最终阶段的服务项目
|
||||
|
Loading…
x
Reference in New Issue
Block a user