Skip to content

Commit

Permalink
Update tests Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoIsALie authored Apr 25, 2024
1 parent 40ebf77 commit fefde8b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ WORKDIR src/
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONBUFFERED 1

COPY tests/backend/requirements.txt .
RUN apt-get update && apt-get install -y --no-install-recommends git

COPY tests/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY tests/backend /src/tests/backend

CMD ["pytest", "tests/backend", "-v"]
CMD ["pytest", "tests/backend", "-sv", "-m", "regression"]

0 comments on commit fefde8b

Please sign in to comment.