2017-10-06 21:56:39 +00:00
|
|
|
FROM microsoft/dotnet:2.0-sdk AS build-env
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . ./
|
2017-10-07 17:54:23 +00:00
|
|
|
RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo && \
|
|
|
|
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm.sh" "ArchiSteamFarm/out/ArchiSteamFarm.sh"
|
2017-10-06 21:56:39 +00:00
|
|
|
|
2017-10-11 19:25:34 +00:00
|
|
|
FROM microsoft/dotnet:2.0-runtime-stretch-arm32v7
|
2017-10-14 04:59:22 +00:00
|
|
|
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
|
|
|
EXPOSE 1242
|
2017-10-06 21:56:39 +00:00
|
|
|
WORKDIR /app
|
2017-10-06 22:16:32 +00:00
|
|
|
COPY --from=build-env /app/ArchiSteamFarm/out ./
|
2017-10-08 13:08:15 +00:00
|
|
|
ENTRYPOINT ["./ArchiSteamFarm.sh", "--service"]
|