add: docker-compose

This commit is contained in:
2024-03-17 14:02:47 +08:00
parent 306acdab44
commit 3feeb66f68
2 changed files with 9 additions and 0 deletions

View File

@@ -13,5 +13,6 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X sub2clash/
FROM alpine:latest
COPY --from=builder /app/sub2sing-box /app/sub2sing-box
COPY --from=builder /app/template /app/template
ENTRYPOINT ["/app/sub2sing-box","server"]