mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2024-12-23 20:14:42 -05:00
add: docker-compose
This commit is contained in:
parent
306acdab44
commit
3feeb66f68
@ -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"]
|
||||
|
8
docker-compose.yaml
Normal file
8
docker-compose.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
services:
|
||||
sub2sing-box:
|
||||
image: nite07/sub2sing-box:latest
|
||||
container_name: sub2sing-box
|
||||
volumes:
|
||||
- ./template:/app/template
|
||||
ports:
|
||||
- 8080:8080
|
Loading…
Reference in New Issue
Block a user