From 6dcaea673543c91ab997490baae77729bbd49dd6 Mon Sep 17 00:00:00 2001 From: Rosie Wood Date: Wed, 1 Nov 2023 17:04:06 +0000 Subject: [PATCH] update docker files --- docker/reginald/Dockerfile | 4 +--- docker/slack_bot/Dockerfile | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docker/reginald/Dockerfile b/docker/reginald/Dockerfile index ac2b6568..3a41e902 100644 --- a/docker/reginald/Dockerfile +++ b/docker/reginald/Dockerfile @@ -11,6 +11,4 @@ COPY pyproject.toml . COPY README.md . RUN poetry install --all-extras -# Set entrypoint -ENTRYPOINT ["poetry"] -CMD ["run", "python", "reginald_run"] +CMD ["poetry", "run", "reginald_run"] diff --git a/docker/slack_bot/Dockerfile b/docker/slack_bot/Dockerfile index 1e05e01a..964c39f7 100644 --- a/docker/slack_bot/Dockerfile +++ b/docker/slack_bot/Dockerfile @@ -11,6 +11,4 @@ COPY pyproject.toml . COPY README.md . RUN poetry install --extras api_bot -# Set entrypoint -ENTRYPOINT ["poetry"] -CMD ["run", "python", "reginald_run_api_bot"] +CMD ["poetry", "run", "reginald_run_api_bot"]