From 2352ebc5b5d35a9f7d63b673dcfb7690efc7f3f9 Mon Sep 17 00:00:00 2001 From: clchieu Date: Wed, 27 Mar 2024 18:12:33 +0100 Subject: [PATCH] Ajustement du chemin vers le fichier --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c88caff..56cbcad 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,13 +4,13 @@ EXPOSE 5000 FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src -COPY ["../API_SQLuedo/API/API.csproj", "API_SQLuedo/"] +COPY ["API_SQLuedo/API/API.csproj", "API_SQLuedo/"] # Restore dependencies RUN dotnet restore "API_SQLuedo/API/API.csproj" # Copy the rest of the files -COPY "../API_SQLuedo/API/." "API_SQLuedo/" +COPY ["API_SQLuedo/API/." "API_SQLuedo/"] WORKDIR "/src/API_SQLuedo" RUN dotnet build "API.csproj" -c Release -o /app/build