hckvps commited on
Commit
b6561b1
·
verified ·
1 Parent(s): 7bef0c7

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:latest
2
+ RUN apt update
3
+ RUN apt install curl wget openssl lynx links -y
4
+ RUN wget https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_386.tar.gz
5
+ RUN chown ubuntu:ubuntu /home/ubuntu
6
+ RUN tar -xf gotty_linux_386.tar.gz
7
+ RUN mv gotty /home/ubuntu/gotty
8
+ RUN chmod +777 /home/ubuntu/gotty
9
+ CMD ["~/gotty", "--port 7860" "-w", "/bin/bash"]