Remove cleaning

main
ilitirit 3 years ago
parent a9d9be3697
commit b5fd221ead

@ -9,17 +9,11 @@ COPY Expedience.Models/Expedience.Models.csproj Expedience.Models/
COPY Expedience.Infrastructure/Expedience.Infrastructure.csproj Expedience.Infrastructure/ COPY Expedience.Infrastructure/Expedience.Infrastructure.csproj Expedience.Infrastructure/
COPY Expedience.Api/Expedience.Api.csproj Expedience.Api/ COPY Expedience.Api/Expedience.Api.csproj Expedience.Api/
# Restore the packages # Restore the packages
RUN dotnet restore Expedience.Api/Expedience.Api.csproj RUN dotnet restore Expedience.Api/Expedience.Api.csproj
COPY . . COPY . .
# Clean
RUN dotnet clean "Expedience.Models/Expedience.Models.csproj"
RUN dotnet clean "Expedience.Infrastructure/Expedience.Infrastructure.csproj"
RUN dotnet clean "Expedience.Api/Expedience.Api.csproj"
# Build the project # Build the project
RUN dotnet build "Expedience.Api/Expedience.Api.csproj" -c Release -o /app/build RUN dotnet build "Expedience.Api/Expedience.Api.csproj" -c Release -o /app/build

Loading…
Cancel
Save