SpoofDPI/Dockerfile
Viktor45 3f90cd3bbf
Update Dockerfile
Better simple Dockerfile

```
$ docker build ./ -t spoof-dpi:latest
$ docker run -ti spoof-dpi:latest spoof-dpi --timeout 2000 --debug
```
2024-08-05 18:20:26 +03:00

14 lines
205 B
Docker

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"]