mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
7dd28a14aa
#684 Cannot build from Dockerfile
18 lines
302 B
Docker
18 lines
302 B
Docker
FROM golang:1.10
|
|
|
|
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.ini /frpc.ini \
|
|
&& mv conf/frps.ini /frps.ini \
|
|
&& make clean
|
|
|
|
WORKDIR /
|
|
|
|
EXPOSE 80 443 6000 7000 7500
|
|
|
|
ENTRYPOINT ["/frps"]
|