mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-10 12:16:18 +00:00
Update Dockerfile (test6)
This commit is contained in:
parent
74e1d611fc
commit
4235f3691b
1 changed files with 11 additions and 1 deletions
12
Dockerfile
12
Dockerfile
|
@ -44,7 +44,6 @@ RUN apk add --no-cache --update \
|
|||
nano \
|
||||
netcat-openbsd \
|
||||
nginx \
|
||||
openssh \
|
||||
socat \
|
||||
sqlite \
|
||||
tcptraceroute \
|
||||
|
@ -60,10 +59,21 @@ RUN apk add --no-cache --update \
|
|||
py3-dotenv \
|
||||
py3-cloudflare \
|
||||
py3-virtualenv
|
||||
# openssh \
|
||||
# nginx-mod-stream \
|
||||
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
## Set up the SSH keys from an environment variable
|
||||
#ENV AUTHORIZED_KEYS=""
|
||||
#RUN echo "${AUTHORIZED_KEYS}" > /root/.ssh/authorized_keys && \
|
||||
# chmod 600 /root/.ssh/authorized_keys
|
||||
|
||||
## Configure SSH daemon
|
||||
#RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
|
||||
# sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config
|
||||
|
||||
|
||||
# # Configure SSH server
|
||||
# RUN mkdir /var/run/sshd && \
|
||||
# echo 'root:rootpassword' | chpasswd && \
|
||||
|
|
Loading…
Reference in a new issue