Skip to content

Commit

Permalink
feat: update dependencies, check poetry.lock (APPS-6134)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-jablonski authored Nov 28, 2023
1 parent a3643ab commit 9e22fc9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.4-slim-buster
FROM python:3.11.6-slim-buster

ARG UNAME=apps
ARG UID=1000
Expand All @@ -11,10 +11,10 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends curl \
&& rm -fr /var/lib/apt/lists/*

RUN python -m pip install --upgrade --no-cache-dir pip==23.0
RUN python -m pip install --upgrade --no-cache-dir pip==23.3.1

# Install Poetry
RUN curl -sSl https://install.python-poetry.org | python - --version 1.5.1 \
RUN curl -sSl https://install.python-poetry.org | python - --version 1.7.1 \
&& ln -s ${POETRY_HOME}/bin/poetry /usr/local/bin/poetry

RUN groupadd -g $GID $UNAME \
Expand All @@ -26,6 +26,7 @@ USER $UNAME
WORKDIR $WORKDIR

COPY --chown=apps ./ $WORKDIR
RUN poetry check --lock
RUN poetry install --no-ansi --no-interaction --no-root
CMD ["poetry", "run", "python", "-m", "pytest","--color=no", \
"--cov-report=term-missing", "--cov=rtbhouse_sdk", "tests/"]

0 comments on commit 9e22fc9

Please sign in to comment.