Files
mctf/dark-tariff/Dockerfile
T
TakuyaYagam1 13f936bee9 chore: import MCTF services
- Added all seven issued service trees without omissions.
- Preserved the supplied runtime configuration, binaries, and assets.
2026-11-29 12:25:29 +03:00

16 lines
466 B
Docker
Executable File

FROM python:3.12.16-slim-bookworm
WORKDIR /app
COPY backend/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY backend ./backend/
COPY frontend ./frontend/
RUN useradd --uid 10001 --user-group --no-create-home --shell /usr/sbin/nologin darktariff
USER darktariff
CMD ["sh", "-c", "python -m backend.app.db.initialize && exec uvicorn backend.app.main:create_app --factory --host 0.0.0.0 --port 8080 --workers 4 --limit-concurrency 32"]