Chore:
Moved to sqlalchemy 2.0 Added type checking as much as possible Updated angular to 15 Moved from Angular flex layout to tailwind css Started developing on vscode with devcontainers
This commit is contained in:
@ -13,7 +13,7 @@ RUN mv /node_modules /app/bookie/ \
|
||||
&& /app/bookie/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
|
||||
@ -27,7 +27,7 @@ ENV LANG en_IN
|
||||
ENV LC_ALL en_IN
|
||||
|
||||
# Install Poetry
|
||||
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | POETRY_HOME=/opt/poetry python && \
|
||||
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python - && \
|
||||
cd /usr/local/bin && \
|
||||
ln -s /opt/poetry/bin/poetry && \
|
||||
poetry config virtualenvs.create false
|
||||
@ -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/barker /app
|
||||
COPY --from=builder /app/frontend /app/frontend
|
||||
|
||||
Reference in New Issue
Block a user