Done Track 4
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user