Added script for srs files

This commit is contained in:
itdoginfo
2025-01-27 01:19:22 +03:00
parent 84bb7ec9e7
commit 62ba9150c8
2 changed files with 68 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM ghcr.io/sagernet/sing-box:v1.10.7 AS sing-box
FROM python:3.10.16-alpine3.21
COPY --from=sing-box /usr/local/bin/sing-box /bin/sing-box
WORKDIR /app
COPY compile-srs.py /app/compile-srs.py
VOLUME ["/app/Categories", "/app/Services"]
CMD ["python3", "compile-srs.py"]
# docker run --rm -v ./Categories:/app/Categories -v ./Services:/app/Services -v ./json:/app/json py-sg:1