first commit

This commit is contained in:
Michael Wong 2021-11-14 19:33:19 +08:00
commit 9ff6ed07ff
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.DS_Store

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM golang:alpine AS builder
RUN go install tailscale.com/cmd/derper@main
FROM alpine
WORKDIR /app
ENV DERP_DOMAIN your-hostname.com
COPY --from=builder /go/bin/derper .
CMD /app/derper -hostname $DERP_DOMAIN -certmode manual -certdir /cert -stun