From 4d992462bd78ab904cc5b5c41db415bfdd110fd6 Mon Sep 17 00:00:00 2001 From: KarmaKamikaze Date: Tue, 24 Sep 2024 16:37:07 +0200 Subject: [PATCH] Add tasks.status file in Dockerfile --- MoxfieldPriceScraper/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MoxfieldPriceScraper/Dockerfile b/MoxfieldPriceScraper/Dockerfile index 75bbc1b..a1408f3 100644 --- a/MoxfieldPriceScraper/Dockerfile +++ b/MoxfieldPriceScraper/Dockerfile @@ -33,6 +33,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* +# Create the tasks.status file +RUN touch /app/tasks.status + COPY --from=build-env /app/out . HEALTHCHECK --interval=5m --timeout=1m --start-period=30s --retries=3 CMD ["dotnet", "MoxfieldPriceScraper.dll", "healthcheck"]