Fix docker

This commit is contained in:
2025-11-11 10:26:12 +01:00
parent 5109c772fe
commit 970c77b1c7
2 changed files with 3 additions and 3 deletions

View File

@@ -21,8 +21,8 @@ fi
if [ "${RUN_ON_START:-false}" = "true" ]; then
echo "[entrypoint] Starting initial run in background at $(date)"
(
cd /usr/src/microsoft-rewards-script || {
echo "[entrypoint-bg] ERROR: Unable to cd to /usr/src/microsoft-rewards-script" >&2
cd /usr/src/microsoft-rewards-bot || {
echo "[entrypoint-bg] ERROR: Unable to cd to /usr/src/microsoft-rewards-bot" >&2
exit 1
}
# Skip random sleep for initial run, but preserve setting for cron jobs

View File

@@ -5,7 +5,7 @@ export PATH="/usr/local/bin:/usr/bin:/bin"
export PLAYWRIGHT_BROWSERS_PATH=0
export TZ="${TZ:-UTC}"
cd /usr/src/microsoft-rewards-script
cd /usr/src/microsoft-rewards-bot
LOCKFILE=/tmp/run_daily.lock