mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-14 00:47:25 +00:00
9006b368b0
* Linker optimizations * Test * One step forward * One step forward * And final step forward * Misc
12 lines
483 B
Docker
12 lines
483 B
Docker
FROM microsoft/dotnet:2.0-sdk AS build-env
|
|
WORKDIR /app
|
|
COPY . ./
|
|
RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:LinkDuringPublish=false && \
|
|
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm.sh" "ArchiSteamFarm/out/ArchiSteamFarm.sh"
|
|
|
|
FROM microsoft/dotnet:2.0-runtime-stretch-arm32v7
|
|
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
|
EXPOSE 1242
|
|
WORKDIR /app
|
|
COPY --from=build-env /app/ArchiSteamFarm/out ./
|
|
ENTRYPOINT ["./ArchiSteamFarm.sh", "--service"]
|