ЛР 2: мессенджер на PostgreSQL и сессии в Redis

This commit is contained in:
2026-10-23 12:16:56 +03:00
parent 65003b6119
commit 1dd701be2b
69 changed files with 2163 additions and 30 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM python:3.13.15-slim
WORKDIR /tests
COPY requirements-dev.txt .
RUN python -m pip install --no-cache-dir -r requirements-dev.txt \
&& useradd --uid 10001 --user-group --no-create-home --shell /usr/sbin/nologin tests
COPY lab.json .
COPY contracts ./contracts
COPY tests ./tests
RUN chown -R tests:tests /tests
USER 10001:10001
CMD ["pytest", "-q"]