Dockerfile-for-frpc 211 B

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