From 8a9cd73a1ff6f290d49b533630a2ef1fcbefd76b Mon Sep 17 00:00:00 2001 From: clchieu Date: Wed, 27 Mar 2024 18:34:12 +0100 Subject: [PATCH] Debug du chemin vers la copie des fichiers --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index ca638f1..40ae209 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -6,10 +6,10 @@ EXPOSE 5000 FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build # Restore dependencies -RUN dotnet restore "API_SQLuedo/API/API.csproj" +RUN dotnet restore api/API.csproj # Copy the rest of the files -COPY ["API_SQLuedo/API/." "API_SQLuedo/"] +COPY API_SQLuedo/API/. api/ WORKDIR "/src/API_SQLuedo" RUN dotnet build "API.csproj" -c Release -o /app/build