fix 修改dockerfile路径

This commit is contained in:
zyxucp
2024-03-07 16:37:19 +08:00
parent 45471c9bf4
commit a97cc538f6
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src WORKDIR /src
# Copy csproj and restore as distinct layers # Copy csproj and restore as distinct layers
COPY ["AntSK/AntSK.csproj", "AntSK/"] COPY ["src/AntSK/AntSK.csproj", "AntSK/"]
RUN dotnet restore "AntSK/AntSK.csproj" RUN dotnet restore "AntSK/AntSK.csproj"
# Copy everything else and build # Copy everything else and build

View File

@@ -11,7 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docker", "Docker", "{9F2E19
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
..\docker-compose.simple.yml = ..\docker-compose.simple.yml ..\docker-compose.simple.yml = ..\docker-compose.simple.yml
..\docker-compose.yml = ..\docker-compose.yml ..\docker-compose.yml = ..\docker-compose.yml
Dockerfile = Dockerfile ..\Dockerfile = ..\Dockerfile
EndProjectSection EndProjectSection
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MiddleWare", "MiddleWare", "{40DDB1DC-571B-4A95-9F34-47F52981C511}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MiddleWare", "MiddleWare", "{40DDB1DC-571B-4A95-9F34-47F52981C511}"