Dockerfile-for-frpc 180 B

123456789101112
  1. FROM golang:1.23 AS building
  2. COPY . /building
  3. WORKDIR /building
  4. RUN make frpc
  5. FROM alpine:3
  6. COPY --from=building /building/bin/frpc /usr/bin/frpc
  7. ENTRYPOINT ["/usr/bin/frpc"]