This commit is contained in:
Damien Ostler 2024-01-27 08:23:36 -05:00
parent c5380be14f
commit 03a06546b7

View File

@ -7,7 +7,8 @@ EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release ARG BUILD_CONFIGURATION=Release
WORKDIR /src WORKDIR /src
COPY ["ArtPlatform.API.csproj", "ArtPlatform.API/"] COPY ["/src/ArtPlatform.API/ArtPlatform.API.csproj", "ArtPlatform.API/"]
COPY ["/src/ArtPlatform.Database/ArtPlatform.Database.csproj", "ArtPlatform.Database/"]
RUN dotnet restore "ArtPlatform.API/ArtPlatform.API.csproj" RUN dotnet restore "ArtPlatform.API/ArtPlatform.API.csproj"
COPY . . COPY . .
WORKDIR "/src/ArtPlatform.API" WORKDIR "/src/ArtPlatform.API"