mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Closes #670
This commit is contained in:
parent
35ad4f0f36
commit
0d6f0c788b
4 changed files with 21 additions and 0 deletions
11
Dockerfile.Service.arm
Normal file
11
Dockerfile.Service.arm
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM microsoft/dotnet:2.0-sdk AS build-env
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo && \
|
||||
echo "generic" > "ArchiSteamFarm/out/ArchiSteamFarm.version" && \
|
||||
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm-Service.sh" "ArchiSteamFarm/out/ArchiSteamFarm-Service.sh"
|
||||
|
||||
FROM microsoft/dotnet:2.0-runtime-stretch-arm32v7
|
||||
WORKDIR /app
|
||||
COPY --from=build-env /app/ArchiSteamFarm/out ./
|
||||
ENTRYPOINT ["./ArchiSteamFarm-Service.sh", "--service"]
|
10
Dockerfile.arm
Normal file
10
Dockerfile.arm
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM microsoft/dotnet:2.0-sdk AS build-env
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo && \
|
||||
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm.sh" "ArchiSteamFarm/out/ArchiSteamFarm.sh"
|
||||
|
||||
FROM microsoft/dotnet:2.0-runtime-stretch-arm32v7
|
||||
WORKDIR /app
|
||||
COPY --from=build-env /app/ArchiSteamFarm/out ./
|
||||
ENTRYPOINT ["./ArchiSteamFarm.sh", "--service"]
|
Loading…
Reference in a new issue