From a58b352244c538125416ad5b90686d90e049f812 Mon Sep 17 00:00:00 2001 From: Noan RANDON Date: Thu, 16 Mar 2023 09:22:24 +0100 Subject: [PATCH] Update 'code/Dockerfile' --- code/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/code/Dockerfile b/code/Dockerfile index ab1f7af..22acdf3 100644 --- a/code/Dockerfile +++ b/code/Dockerfile @@ -1,5 +1,3 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. - FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 80 @@ -7,9 +5,9 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src -COPY ["ApiLeapHit/ApiLeapHit.csproj", "ApiLeapHit/"] -COPY ["DTO/DTO.csproj", "DTO/"] -COPY ["DataBase/DataBase.csproj", "DataBase/"] +COPY ["server/ApiLeapHit/ApiLeapHit.csproj", "ApiLeapHit/"] +COPY ["server/DTO/DTO.csproj", "DTO/"] +COPY ["server/DataBase/DataBase.csproj", "DataBase/"] RUN dotnet restore "ApiLeapHit/ApiLeapHit.csproj" COPY . . WORKDIR "/src/ApiLeapHit"