From 36865fbc37aff6587ca1ee87f1df31c7665922f4 Mon Sep 17 00:00:00 2001 From: ccbkkb <9201575@gmail.com> Date: Sat, 21 Mar 2026 18:26:33 +0800 Subject: [PATCH] Create Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6de178c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM alpine:latest + +# 安装内核级 WireGuard 工具、网络控制组件以及纯 C 语言的 microsocks 服务器 +RUN apk add --no-cache wireguard-tools iptables iproute2 wget curl microsocks + +WORKDIR /app +COPY entrypoint.sh . +RUN chmod +x entrypoint.sh + +# 暴露 SOCKS5 端口 +EXPOSE 1080 + +CMD["./entrypoint.sh"]