Files
remnashop/Dockerfile.local
Ilay 26b03a9f53 fix: access mode, notifications, payments, and performance
- updated PURCHASE_BLOCKED and REG_BLOCKED as additional access mode properties
- improved node information display in notifications
- migrated to custom remnapy library for Remnawave API (replacing python-sdk)
- added build information in error notifications
- added block for repeated synchronization of all users
- added middleware to retry failed tasks
- added cache for subscription retrieval
- improved trial period handling
- added user name formatting for safe display
- optimized broadcast sending and deletion tasks
- fixed retrieval of recently registered users
- fixed payment gateway logic (YooMoney, Cryptomus, Heleket)
- fixed synchronization of UUID, traffic_limit_strategy, and tag
- fixed external_squad type for translation (msg-user-sync-subscription)
- removed certain buttons for expired subscriptions in user editor
- excluded self from recently interacted users lists
- fixed settings class update on invalid input
- fixed referral reward calculation respecting user level
- fixed subscription renewal calculation from current time when expired
- refactored payment gateways
- improved performance
- fixed translations
2025-12-18 23:24:47 +05:00

20 lines
432 B
Docker

FROM python:3.12-slim-bookworm
WORKDIR /opt/remnashop
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
&& rm -rf /var/lib/apt/lists/*
COPY pyproject.toml .
COPY uv.lock .
COPY docker-entrypoint.sh .
RUN pip install --no-cache-dir uv && uv sync --frozen
ENV UVICORN_RELOAD_ENABLED=true
ENV PATH="/opt/remnashop/.venv/bin:$PATH"
RUN chmod +x ./docker-entrypoint.sh
CMD ["./docker-entrypoint.sh"]