Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,9 @@ WORKDIR /h-ui
|
|
| 7 |
# 安装 curl
|
| 8 |
RUN apk add --no-cache curl
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
# 下载 hysteria2 二进制文件
|
| 11 |
RUN curl -L -o /h-ui/bin/hysteria2 https://github.com/apernet/hysteria/releases/latest/download/hysteria-linux-amd64 && \
|
| 12 |
chmod +x /h-ui/bin/hysteria2
|
|
|
|
| 7 |
# 安装 curl
|
| 8 |
RUN apk add --no-cache curl
|
| 9 |
|
| 10 |
+
# 创建 bin 目录
|
| 11 |
+
RUN mkdir -p /h-ui/bin
|
| 12 |
+
|
| 13 |
# 下载 hysteria2 二进制文件
|
| 14 |
RUN curl -L -o /h-ui/bin/hysteria2 https://github.com/apernet/hysteria/releases/latest/download/hysteria-linux-amd64 && \
|
| 15 |
chmod +x /h-ui/bin/hysteria2
|