mirror of
https://github.com/fatedier/frp.git
synced 2024-11-27 20:49:10 +08:00
15 lines
211 B
Plaintext
15 lines
211 B
Plaintext
FROM golang:1.23 AS building
|
|
|
|
COPY . /building
|
|
WORKDIR /building
|
|
|
|
RUN make frpc
|
|
|
|
FROM alpine:3
|
|
|
|
RUN apk add --no-cache tzdata
|
|
|
|
COPY --from=building /building/bin/frpc /usr/bin/frpc
|
|
|
|
ENTRYPOINT ["/usr/bin/frpc"]
|