From 071cffa204e8e48e7f001a1e1b85804e9a9081ca Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Tue, 25 Oct 2022 21:53:20 +0100 Subject: Support 3.11 & bump all deps --- dev/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dev') diff --git a/dev/Dockerfile b/dev/Dockerfile index 0b35724a..aaf275ca 100644 --- a/dev/Dockerfile +++ b/dev/Dockerfile @@ -4,13 +4,13 @@ FROM --platform=linux/amd64 ghcr.io/chrislovering/python-poetry-base:3.10-slim # Install project dependencies WORKDIR /app COPY pyproject.toml poetry.lock ./ -RUN poetry install --no-root +RUN poetry install --no-root --without lint,doc,test # Copy the source code in last to optimize rebuilding the image COPY . . # Install again, this time with the root project -RUN poetry install +RUN poetry install --only-root -ENTRYPOINT ["python"] -CMD ["-m", "bot"] +ENTRYPOINT ["poetry"] +CMD ["run", "python", "-m", "bot"] -- cgit v1.2.3