This commit is contained in:
Damien Ostler 2024-01-27 08:26:35 -05:00
parent aff7713122
commit 0b6ccef72b

View File

@ -11,7 +11,7 @@ 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"
COPY . .
WORKDIR "/src/ArtPlatform/ArtPlatform.API"
WORKDIR "/src/ArtPlatform.API/ArtPlatform.API"
RUN dotnet build "ArtPlatform.API.csproj" -c $BUILD_CONFIGURATION -o /app/build
FROM build AS publish