📦 chore(base.Dockerfile): add tests directory to Docker image to include tests in the build process

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-16 11:15:23 -03:00
commit c367328727

View file

@ -84,6 +84,8 @@ COPY --from=builder-base $POETRY_HOME $POETRY_HOME
COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
COPY ./src/backend ./src/backend
COPY ./tests ./tests
# quicker install as runtime deps are already installed
RUN --mount=type=cache,target=/root/.cache \
poetry install --with=dev --extras deploy