dockerfile fix

This commit is contained in:
Jose Henrique 2025-05-31 11:12:13 -03:00
parent 23ff2c8541
commit c27eab43d2

View File

@ -4,7 +4,7 @@ WORKDIR /src
# Copy only the solution and project files first, restore, then copy the rest # Copy only the solution and project files first, restore, then copy the rest
COPY ./OpenCand.sln ./ COPY ./OpenCand.sln ./
COPY ./OpenCand.ETL/OpenCand.API.csproj ./OpenCand.API/ COPY ./OpenCand.API/OpenCand.API.csproj ./OpenCand.API/
COPY ./OpenCand.Core/OpenCand.Core.csproj ./OpenCand.Core/ COPY ./OpenCand.Core/OpenCand.Core.csproj ./OpenCand.Core/
RUN dotnet restore ./OpenCand.API/OpenCand.API.csproj RUN dotnet restore ./OpenCand.API/OpenCand.API.csproj