Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM nginx:alpine
|
| 2 |
|
| 3 |
# 安装依赖:SSH、Nginx、Cloudflared、bash
|
| 4 |
-
RUN apk add --no-cache shadow util-linux
|
| 5 |
# 设置 root 密码
|
| 6 |
echo "root:123456" | chpasswd && \
|
| 7 |
sed -i 's/#Port 22/Port 2222/' /etc/ssh/sshd_config && \
|
|
|
|
| 1 |
FROM nginx:alpine
|
| 2 |
|
| 3 |
# 安装依赖:SSH、Nginx、Cloudflared、bash
|
| 4 |
+
RUN apk add --no-cache shadow util-linux openssh bash curl && \
|
| 5 |
# 设置 root 密码
|
| 6 |
echo "root:123456" | chpasswd && \
|
| 7 |
sed -i 's/#Port 22/Port 2222/' /etc/ssh/sshd_config && \
|