From b2cf52502c43ca0d1158cbfccf0ee5091bc199ea Mon Sep 17 00:00:00 2001 From: clchieu Date: Wed, 27 Mar 2024 18:54:18 +0100 Subject: [PATCH] Ajout du bon chemin vers le csproj --- docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index ee9d0a7..ee61f75 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,14 +3,14 @@ WORKDIR /src COPY API_SQLuedo/ ./ # Restore dependencies -RUN dotnet restore API.csproj +RUN dotnet restore API/API.csproj # Build the application -RUN dotnet build API.csproj -c Release -o /app/build +RUN dotnet build API/API.csproj -c Release -o /app/build # Publish the application FROM build AS publish -RUN dotnet publish API.csproj -c Release -o /app/publish +RUN dotnet publish API/API.csproj -c Release -o /app/publish # Final image