File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ WORKDIR /app
77FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
88ARG BUILD_CONFIGURATION=Release
99WORKDIR /src
10- COPY ["./DatabaseProjectAPI/DatabaseProjectAPI.csproj" , ". " ]
11- COPY ["./KubsConnect/KubsConnect.csproj" , ". " ]
12- RUN dotnet restore ". /DatabaseProjectAPI.csproj"
10+ COPY ["./DatabaseProjectAPI/DatabaseProjectAPI.csproj" , "DatabaseProjectAPI/ " ]
11+ COPY ["./KubsConnect/KubsConnect.csproj" , "DatabaseProjectAPI/ " ]
12+ RUN dotnet restore "DatabaseProjectAPI /DatabaseProjectAPI.csproj"
1313COPY . .
14- WORKDIR "/src/. "
15- RUN dotnet build "./ DatabaseProjectAPI.csproj" -c $BUILD_CONFIGURATION -o /app/build
14+ WORKDIR "/src/DatabaseProjectAPI "
15+ RUN dotnet build "DatabaseProjectAPI.csproj" -c $BUILD_CONFIGURATION -o /app/build
1616
1717FROM build AS publish
1818ARG BUILD_CONFIGURATION=Release
19- RUN dotnet publish "./ DatabaseProjectAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
19+ RUN dotnet publish "DatabaseProjectAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
2020
2121FROM base AS final
2222WORKDIR /app
You can’t perform that action at this time.
0 commit comments