mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-10 12:16:18 +00:00
Update Dockerfile (test5)
This commit is contained in:
parent
83b28d9b9d
commit
74e1d611fc
1 changed files with 28 additions and 3 deletions
31
Dockerfile
31
Dockerfile
|
@ -31,11 +31,27 @@ RUN apk add --no-cache --update \
|
|||
fail2ban \
|
||||
bash \
|
||||
bash-completion \
|
||||
cron \
|
||||
bc \
|
||||
supercronic \
|
||||
curl \
|
||||
wget \
|
||||
gawk \
|
||||
git \
|
||||
htop \
|
||||
iptables \
|
||||
iperf3 \
|
||||
iproute2 \
|
||||
jq \
|
||||
nano \
|
||||
netcat-openbsd \
|
||||
nginx \
|
||||
openssh \
|
||||
socat \
|
||||
sqlite \
|
||||
tcptraceroute \
|
||||
tcpdump \
|
||||
tmux \
|
||||
unzip \
|
||||
wget \
|
||||
python3 \
|
||||
py3-pip \
|
||||
py3-psutil \
|
||||
|
@ -44,9 +60,18 @@ RUN apk add --no-cache --update \
|
|||
py3-dotenv \
|
||||
py3-cloudflare \
|
||||
py3-virtualenv
|
||||
|
||||
# nginx-mod-stream \
|
||||
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
# # Configure SSH server
|
||||
# RUN mkdir /var/run/sshd && \
|
||||
# echo 'root:rootpassword' | chpasswd && \
|
||||
# sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
|
||||
# sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config && \
|
||||
# ssh-keygen -A
|
||||
|
||||
|
||||
COPY --from=builder /app/build/ /app/
|
||||
COPY --from=builder /app/DockerEntrypoint.sh /app/
|
||||
COPY --from=builder /app/x-ui.sh /usr/bin/x-ui
|
||||
|
|
Loading…
Reference in a new issue