mirror of
https://github.com/snoups/remnashop.git
synced 2026-04-03 06:52:07 +00:00
- 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
20 lines
432 B
Docker
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"] |