From 82a384df10c4002409e754e2d024a77d492e4ff5 Mon Sep 17 00:00:00 2001 From: Patrick BRUGIERE Date: Wed, 3 Apr 2024 08:30:54 +0200 Subject: [PATCH] revert 5bd21882238338468971eb0db9d0df1860774957 revert Maybe last push ? --- Project/EntityFramework/API/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Project/EntityFramework/API/Dockerfile b/Project/EntityFramework/API/Dockerfile index c1b978a..192f921 100644 --- a/Project/EntityFramework/API/Dockerfile +++ b/Project/EntityFramework/API/Dockerfile @@ -1,6 +1,7 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +USER app WORKDIR /app EXPOSE 8080 EXPOSE 8081 @@ -8,6 +9,7 @@ EXPOSE 8081 FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src +RUN ls COPY ["API/API.csproj", "API/"] COPY ["DTOToEntity/DTOToEntity.csproj", "DTOToEntity/"] COPY ["DbContext/DbContextLib.csproj", "DbContext/"]