mirror of https://github.com/fatedier/frp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
309 B
18 lines
309 B
FROM golang:1.6
|
|
|
|
COPY . /go/src/github.com/fatedier/frp
|
|
|
|
RUN cd /go/src/github.com/fatedier/frp \
|
|
&& make \
|
|
&& mv bin/frpc /frpc \
|
|
&& mv bin/frps /frps \
|
|
&& mv conf/frpc_min.ini /frpc.ini \
|
|
&& mv conf/frps_min.ini /frps.ini \
|
|
&& make clean
|
|
|
|
WORKDIR /
|
|
|
|
EXPOSE 80 443 6000 7000 7500
|
|
|
|
ENTRYPOINT ["/frps"]
|