Mise à jour de 'Project/EntityFramework/API/Dockerfile'
continuous-integration/drone/push Build is passing Details

WebAPI
Patrick BRUGIERE 1 year ago
parent 82a384df10
commit 98597ec7f4

@ -1,7 +1,4 @@
#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
@ -9,7 +6,6 @@ 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/"]

Loading…
Cancel
Save