From 314e536efdaea1a066b61143187a410eded750f3 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 26 Feb 2023 10:52:46 -0500 Subject: [PATCH] Do not rely on poetry in entrypoint --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 510111a..f88ae0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ WORKDIR /app COPY . . RUN pip install --no-cache-dir poetry==1.3.2 && \ - poetry install --no-root + poetry export -f requirements.txt > /tmp/requirements.txt && \ + pip install -r /tmp/requirements.txt -ENTRYPOINT ["poetry", "run", "-C", "/app", "python", "/app/rfd_notify/cli.py", "-c", "config.yml"] +ENTRYPOINT ["python", "/app/rfd_notify/cli.py", "-c", "config.yml"]