Реализовать асинхронную обработку изображений

This commit is contained in:
Nik
2026-11-05 20:34:10 +03:00
parent 276dbdad8a
commit 35371114cd
28 changed files with 1968 additions and 45 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM python:3.12.8-slim-bookworm@sha256:2199a62885a12290dc9c5be3ca0681d367576ab7bf037da120e564723292a2f0
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app ./app
COPY migrations ./migrations
COPY scripts ./scripts
RUN useradd --create-home --uid 10001 appuser && chown -R appuser:appuser /app
USER appuser
EXPOSE 8080
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]