Skip to content

how to upgrade to a later docker image? #52

You must be logged in to vote

Hi, I'm using boilerplate code from another repo, and its dockerfile looks like and its pyproject.toml looks like

My project is private at this time, but it has not changed that much from the original versions in this aspect (CLI + 3rd library settings e.g. pytest). My Dockerfile looks like this

# updated from fastapi-0.10.4-python3.9
FROM ghcr.io/br3ndonland/inboard:fastapi-0.23.1-python3.9

# Copy poetry.lock* in case it doesn't exist in the repo
COPY ./app/pyproject.toml ./app/poetry.lock* /app/
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-roo…

Replies: 2 comments 1 reply

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@br3ndonland

Answer selected by br3ndonland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants