From dff88c5bb71b63b530e100ac7de0f8b590e8b792 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sun, 27 Nov 2022 01:14:41 +0100 Subject: [PATCH] reduce docker image size --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2207f9e..d133fd9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ ENV PATH ${POETRY_HOME}/bin:$PATH # Install Deps WORKDIR /app -COPY poetry.lock poetry.toml pyproject.toml ./ -RUN poetry install +COPY poetry.lock pyproject.toml ./ +RUN poetry install --no-cache --without dev --sync # Copy code COPY . .