Chore: Updated the dockerfile to python 3.11 and also with poetry
This commit is contained in:
parent
c99762e6a9
commit
979004d29c
@ -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 <docker@tanshu.com>"
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user