mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
15 lines
320 B
Docker
15 lines
320 B
Docker
FROM golang:1.5
|
|
|
|
MAINTAINER fatedier
|
|
|
|
RUN echo "[common]\nbind_addr = 0.0.0.0\nbind_port = 7000\n[wiki]\npasswd = 123\nbind_addr = 0.0.0.0\nlisten_port = 80" > /usr/share/frps.ini
|
|
|
|
ADD ./ /usr/share/frp/
|
|
|
|
RUN cd /usr/share/frp && make
|
|
|
|
EXPOSE 80
|
|
EXPOSE 7000
|
|
|
|
CMD ["/usr/share/frp/bin/frps", "-c", "/usr/share/frps.ini"]
|