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"]