Use /bin/sh as entrypoint in docker containers

This way we can avoid a potential update process corruption which happened e.g. at https://github.com/JustArchiNET/ArchiSteamFarm/issues/2382
This commit is contained in:
Archi 2021-07-24 00:29:22 +02:00
parent 66bbc56b02
commit a785acf416
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA
2 changed files with 2 additions and 2 deletions

View file

@ -65,4 +65,4 @@ WORKDIR /app
COPY --from=build-dotnet /app/out/result .
VOLUME ["/app/config", "/app/logs"]
HEALTHCHECK CMD ["pidof", "-q", "dotnet"]
ENTRYPOINT ["./ArchiSteamFarm.sh", "--no-restart", "--process-required", "--system-required"]
ENTRYPOINT ["sh", "ArchiSteamFarm.sh", "--no-restart", "--process-required", "--system-required"]

View file

@ -65,4 +65,4 @@ WORKDIR /app
COPY --from=build-dotnet /app/out/result .
VOLUME ["/app/config", "/app/logs"]
HEALTHCHECK CMD ["pidof", "-q", "ArchiSteamFarm"]
ENTRYPOINT ["./ArchiSteamFarm-Service.sh", "--no-restart", "--process-required", "--system-required"]
ENTRYPOINT ["sh", "ArchiSteamFarm-Service.sh", "--no-restart", "--process-required", "--system-required"]