Merge pull request #85 from Viktor45/patch-1

Create Dockerfile
This commit is contained in:
xvzc 2024-08-06 12:30:13 +09:00 committed by GitHub
commit 871d9e0484
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM golang:alpine as builder
WORKDIR /go
RUN go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi@latest
FROM alpine:latest
WORKDIR /
COPY --from=builder /go/bin/spoof-dpi .
ENTRYPOINT ["./spoof-dpi"]