mirror of
https://github.com/D4M13N-D3V/art_platform.git
synced 2025-03-14 07:44:54 +00:00
fix
This commit is contained in:
parent
0b6ccef72b
commit
a83c97de6b
@ -13,12 +13,10 @@ RUN dotnet restore "ArtPlatform.API/ArtPlatform.API.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/ArtPlatform.API/ArtPlatform.API"
|
||||
RUN dotnet build "ArtPlatform.API.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
RUN dotnet publish "ArtPlatform.API.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
COPY --from=build /app/publish .
|
||||
ENTRYPOINT ["dotnet", "ArtPlatform.API.dll"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user