Dockerfile-for-frps 211 B

1234567891011121314
  1. FROM golang:1.23 AS building
  2. COPY . /building
  3. WORKDIR /building
  4. RUN make frps
  5. FROM alpine:3
  6. RUN apk add --no-cache tzdata
  7. COPY --from=building /building/bin/frps /usr/bin/frps
  8. ENTRYPOINT ["/usr/bin/frps"]