Skip to content

Commit 2916159

Browse files
authored
Add files via upload
1 parent e9de85b commit 2916159

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Dockerfile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM debian
2+
RUN apt update
3+
RUN apt install ssh wget npm -y
4+
RUN npm install -g wstunnel
5+
RUN mkdir /run/sshd
6+
RUN echo 'wstunnel -s 0.0.0.0:80 &' >>/1.sh
7+
RUN echo '/usr/sbin/sshd -D' >>/1.sh
8+
RUN echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
9+
RUN echo root:uncleluo|chpasswd
10+
RUN chmod 755 /1.sh
11+
EXPOSE 80
12+
CMD /1.sh

0 commit comments

Comments
 (0)