mirror of
https://github.com/itdoginfo/allow-domains.git
synced 2026-01-24 22:06:13 +03:00
Update versions
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,17 +1,19 @@
|
||||
FROM ghcr.io/sagernet/sing-box:v1.11.15 AS sing-box
|
||||
|
||||
FROM golang:1.22.12-alpine3.21 AS go-builder
|
||||
FROM golang:1.25.5-alpine3.23 AS go-builder
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go install -ldflags="-s -w" \
|
||||
github.com/v2fly/domain-list-community@20250207120917
|
||||
github.com/v2fly/domain-list-community@20251222003838
|
||||
|
||||
FROM python:3.10.16-alpine3.21
|
||||
FROM python:3.12.12-alpine3.23
|
||||
|
||||
COPY --from=sing-box /usr/local/bin/sing-box /bin/sing-box
|
||||
|
||||
COPY --from=go-builder /go/bin/domain-list-community /bin/domain-list-community
|
||||
|
||||
RUN pip install --no-cache-dir tldextract
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir -r /app/requirements.txt
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user