frp/dockerfiles/Dockerfile-for-frpc

13 lines
180 B
Plaintext
Raw Normal View History

2022-04-29 01:15:42 +08:00
FROM golang:1.18 AS building
2020-09-30 11:05:34 +08:00
COPY . /building
WORKDIR /building
2020-09-30 11:05:34 +08:00
2022-04-29 01:15:42 +08:00
RUN make frpc
2020-09-30 11:05:34 +08:00
2022-04-29 01:15:42 +08:00
FROM alpine:3
2020-09-30 11:05:34 +08:00
COPY --from=building /building/bin/frpc /usr/bin/frpc
2020-09-23 14:54:40 +08:00
ENTRYPOINT ["/usr/bin/frpc"]