Перенести реализацию лабораторной 4

This commit is contained in:
2026-11-16 13:57:52 +03:00
parent 276dbdad8a
commit 4d54ba3848
67 changed files with 3393 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM python:3.13.15-slim
WORKDIR /tests
COPY requirements.txt requirements-dev.txt ./
RUN python -m pip install --no-cache-dir -r requirements.txt -r requirements-dev.txt \
&& useradd --uid 10001 --user-group --no-create-home --shell /usr/sbin/nologin tests
COPY lab.json .
COPY app ./app
COPY contracts ./contracts
COPY tests ./tests
RUN chown -R tests:tests /tests
USER 10001:10001
CMD ["python", "-m", "pytest", "-q"]