ArchiSteamFarm/Dockerfile.Service.x64

13 lines
513 B
Docker
Raw Normal View History

2017-10-07 15:26:08 +00:00
FROM microsoft/dotnet:2.0-sdk AS build-env
WORKDIR /app
COPY . ./
RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:ASFVariant=generic /p:LinkDuringPublish=false && \
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm-Service.sh" "ArchiSteamFarm/out/ArchiSteamFarm-Service.sh"
2017-10-07 15:26:08 +00:00
FROM microsoft/dotnet:2.0-runtime
2017-10-14 04:59:22 +00:00
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
EXPOSE 1242
2017-10-07 15:26:08 +00:00
WORKDIR /app
COPY --from=build-env /app/ArchiSteamFarm/out ./
2017-10-08 13:08:15 +00:00
ENTRYPOINT ["./ArchiSteamFarm-Service.sh", "--service"]