set now apline

This commit is contained in:
Kenneth 2020-09-10 23:59:48 +08:00
parent a4c29d47b7
commit 285f6ba886

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM golang:alpine
COPY . /go/src/github.com/fatedier/frp
RUN apk update \
&& apk add make \
&& cd /go/src/github.com/fatedier/frp \
&& make \
&& mv bin/frps /frps \
&& mv conf/frps.ini /frps.ini \
&& make clean \
&& rm -r /go
WORKDIR /
EXPOSE 80 443 6000 7000 7500
ENTRYPOINT ["/frps"]