From 979004d29c1d4200280f125dd84e69df536c7e31 Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Tue, 31 Jan 2023 17:51:20 +0530 Subject: [PATCH] Chore: Updated the dockerfile to python 3.11 and also with poetry --- docker/app/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/app/Dockerfile b/docker/app/Dockerfile index 148eb5e1..d988434a 100644 --- a/docker/app/Dockerfile +++ b/docker/app/Dockerfile @@ -13,7 +13,7 @@ RUN mv /node_modules /app/overlord/ \ && /app/overlord/node_modules/.bin/ng build -FROM python:3.10 +FROM python:3.11 LABEL maintainer="Amritanshu " COPY pyproject.toml /app/pyproject.toml @@ -36,7 +36,7 @@ WORKDIR /app # Allow installing dev dependencies to run tests ARG INSTALL_DEV=false -RUN bash -c "if [ $INSTALL_DEV == 'true' ] ; then poetry install --no-root ; else poetry install --no-root --no-dev ; fi" +RUN bash -c "if [ $INSTALL_DEV == 'true' ] ; then poetry install --no-root ; else poetry install --no-root --only main ; fi" COPY --from=builder /app/brewman /app COPY --from=builder /app/frontend /app/frontend