From c0d8de2a1585286415b6936b9b734a72e029819a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= <61120139+ankandrew@users.noreply.github.com> Date: Tue, 5 Aug 2025 13:46:49 -0300 Subject: [PATCH 1/2] Use --no-cache in poetry install --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 781c871..2a6f774 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ COPY --from=swagger-ui /usr/share/nginx/html/swagger-ui.css swagger-ui-assets/sw COPY --from=swagger-ui /usr/share/nginx/html/swagger-ui-bundle.js swagger-ui-assets/swagger-ui-bundle.js RUN poetry config virtualenvs.in-project true -RUN poetry install --extras cpu +RUN poetry install --no-cache --extras cpu EXPOSE 9000 From 987497086532cd978ed93d9752f193fc0ea36ef7 Mon Sep 17 00:00:00 2001 From: ankandrew <61120139+ankandrew@users.noreply.github.com> Date: Tue, 5 Aug 2025 13:49:43 -0300 Subject: [PATCH 2/2] Use --no-cache in poetry install in GPU image --- Dockerfile.gpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.gpu b/Dockerfile.gpu index 78b34b4..fd6a6c3 100644 --- a/Dockerfile.gpu +++ b/Dockerfile.gpu @@ -38,7 +38,7 @@ COPY --from=swagger-ui /usr/share/nginx/html/swagger-ui.css swagger-ui-assets/sw COPY --from=swagger-ui /usr/share/nginx/html/swagger-ui-bundle.js swagger-ui-assets/swagger-ui-bundle.js RUN poetry config virtualenvs.in-project true -RUN poetry install --extras cuda +RUN poetry install --no-cache --extras cuda EXPOSE 9000