mirror of
https://github.com/itdoginfo/allow-domains.git
synced 2025-04-25 15:29:09 +00:00
15 lines
No EOL
384 B
Docker
15 lines
No EOL
384 B
Docker
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 |