From 9beacf713bf6f83b9a5b12b9c7cbef7ecaa76bd1 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Mon, 20 Feb 2023 23:35:18 -0500 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 2 +- github-action/Dockerfile | 2 +- github-action/entrypoint.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4007cca..b460d49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,4 @@ COPY --from=builder /home/nonroot/.local/lib/python3.11/site-packages /home/nonr COPY rfd_notify . -ENTRYPOINT ["python", "cli.py", "-c", "config.yaml"] +ENTRYPOINT ["python", "/app/cli.py", "-c", "config.yml"] diff --git a/github-action/Dockerfile b/github-action/Dockerfile index b6ea335..0c2e9ef 100644 --- a/github-action/Dockerfile +++ b/github-action/Dockerfile @@ -1,3 +1,3 @@ FROM ghcr.io/davegallant/rfd-notify:1 -ENTRYPOINT ["python", "cli.py", "-c", "config.yaml"] +ENTRYPOINT ["python", "/app/cli.py", "-c", "config.yml"] diff --git a/github-action/entrypoint.sh b/github-action/entrypoint.sh index 9986da3..949f1af 100755 --- a/github-action/entrypoint.sh +++ b/github-action/entrypoint.sh @@ -2,4 +2,4 @@ echo "Starting rfd-notify with config: $1" -rfd-notify -c "$1" +python /app/cli.py -c "$1"