# Base image
FROM imocence/alpine:3.15
# Image creator
MAINTAINER imocence
RUN FRP_VER=0.52.3 && wget -O /opt/entrypoint.sh -q https://gitee.com/imocence/source-address/raw/master/other/frp/entrypoint.sh \
&& wget -O /opt/frp.tar.gz -q https://github.com/fatedier/frp/releases/download/v${FRP_VER}/frp_${FRP_VER}_linux_amd64.tar.gz \
&& cd /opt && chmod +x entrypoint.sh && tar -zxf frp.tar.gz && rm -f frp.tar.gz && mv frp_${FRP_VER}_linux_amd64 frp
VOLUME ["/opt/frp/conf"]
EXPOSE 7000 7500
ENTRYPOINT ["/opt/entrypoint.sh"]
version: '2'
services:
web:
image: imocence/frp:v0.52.3
container_name: frp
network_mode: bridge
#environment:
# - MODE=client
ports:
- "0.0.0.0:7000:7000"
- "0.0.0.0:7500:7500"
volumes:
- ./conf/:/opt/frp/conf
restart: unless-stopped
Content type
Image
Digest
sha256:9669efc9b…
Size
14.5 MB
Last updated
almost 3 years ago
docker pull imocence/frp