Done Track 4

This commit is contained in:
2026-10-30 16:53:49 +03:00
parent e9ee60b0ba
commit fe4a32bb79
42 changed files with 3363 additions and 118 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
# Messenger API (lab3). One image for the "api" and "migrate" services.
# Messenger API (lab4). One image for the "api", "migrate" and "s3-init" services.
FROM python:3.12.7-slim
WORKDIR /app
@@ -10,7 +10,7 @@ COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app ./app
COPY scripts/migrate.py ./scripts/migrate.py
COPY scripts/migrate.py scripts/s3_bootstrap.py ./scripts/
COPY migrations ./migrations
RUN useradd --create-home --uid 10001 appuser