1
1
mirror of https://github.com/fatedier/frp.git synced 2025-07-06 15:30:10 +02:00

add Dockerfile

This commit is contained in:
fatedier
2016-03-16 17:20:53 +08:00
parent 30d79e66be
commit cdd79aee52

14
Dockerfile Normal file

@ -0,0 +1,14 @@
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"]