From 97def7d3c6e2a8cbe4925435059c2a59baecfc35 Mon Sep 17 00:00:00 2001 From: Exil Date: Sun, 8 Oct 2023 21:25:46 +0100 Subject: [PATCH] Re-order scripts --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4069a46..a97b6b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,5 @@ FROM python:3.11-slim-bookworm -ADD install-deps.sh /tmp - -RUN bash /tmp/install-deps.sh - RUN mkdir /config VOLUME /config @@ -14,8 +10,8 @@ ADD pyproject.toml . ADD poetry.lock . -RUN curl -sSL https://install.python-poetry.org | python3 - +ADD install-deps.sh /tmp -RUN /root/.local/bin/poetry install +RUN bash /tmp/install-deps.sh CMD ["/root/.local/bin/poetry", "run", "python", "/app.py"]