mirror of
https://github.com/fatedier/frp.git
synced 2024-12-04 13:54:03 +01: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"]
|