📦 chore(base.Dockerfile): add tests directory to Docker image to include tests in the build process
This commit is contained in:
parent
43fc6add04
commit
c367328727
1 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ COPY --from=builder-base $POETRY_HOME $POETRY_HOME
|
||||||
COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
|
COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
|
||||||
|
|
||||||
COPY ./src/backend ./src/backend
|
COPY ./src/backend ./src/backend
|
||||||
|
COPY ./tests ./tests
|
||||||
|
|
||||||
# quicker install as runtime deps are already installed
|
# quicker install as runtime deps are already installed
|
||||||
RUN --mount=type=cache,target=/root/.cache \
|
RUN --mount=type=cache,target=/root/.cache \
|
||||||
poetry install --with=dev --extras deploy
|
poetry install --with=dev --extras deploy
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue