.NET Core 3.1 (#1535)

* .NET Core 3.1

* Misc
This commit is contained in:
Łukasz Domeradzki
2019-12-04 18:33:51 +01:00
committed by GitHub
parent fcf619340f
commit 44e062bce0
10 changed files with 26 additions and 26 deletions

View File

@@ -6,9 +6,9 @@ RUN echo "node: $(node --version)" && \
npm ci && \
npm run-script deploy
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build-dotnet
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-dotnet
ENV CONFIGURATION Release
ENV NET_CORE_VERSION netcoreapp3.0
ENV NET_CORE_VERSION netcoreapp3.1
WORKDIR /app
COPY --from=build-node /app/dist ASF-ui/dist
COPY ArchiSteamFarm ArchiSteamFarm
@@ -22,7 +22,7 @@ RUN dotnet --info && \
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o 'out' /nologo /p:ASFVariant=generic /p:PublishTrimmed=false /p:UseAppHost=false && \
cp "ArchiSteamFarm/overlay/generic/ArchiSteamFarm-Service.sh" "out/ArchiSteamFarm-Service.sh"
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim-arm32v7 AS runtime
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim-arm32v7 AS runtime
ENV ASPNETCORE_URLS=
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
EXPOSE 1242