feat: ЛР 4 с хранением вложений в MinIO

This commit is contained in:
2026-11-05 19:45:49 +03:00
parent 5be0a6c0b4
commit 0ed4b9cea5
40 changed files with 1763 additions and 65 deletions
+4 -3
View File
@@ -1,14 +1,15 @@
FROM python:3.13.15-slim
WORKDIR /tests
COPY requirements-dev.txt .
RUN python -m pip install --no-cache-dir -r requirements-dev.txt \
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 ["pytest", "-q"]
CMD ["python", "-m", "pytest", "-q"]