undid explicit .git copy to whole folder copying

This commit is contained in:
henrik
2024-12-13 18:20:31 +01:00
parent a816f99118
commit 8a22f1e159

View File

@@ -13,7 +13,7 @@ COPY ["Pushy/Pushy/Pushy.csproj", "Pushy/Pushy/"]
COPY ["Pushy/Pushy.Client/Pushy.Client.csproj", "Pushy/Pushy.Client/"] COPY ["Pushy/Pushy.Client/Pushy.Client.csproj", "Pushy/Pushy.Client/"]
COPY ["Pushy.Silo/Pushy.Silo.csproj", "Pushy.Silo/"] COPY ["Pushy.Silo/Pushy.Silo.csproj", "Pushy.Silo/"]
COPY .git . COPY . .
RUN dotnet restore "Pushy.Silo/Pushy.Silo.csproj" RUN dotnet restore "Pushy.Silo/Pushy.Silo.csproj"
RUN dotnet restore "Pushy/Pushy/Pushy.csproj" RUN dotnet restore "Pushy/Pushy/Pushy.csproj"