Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -4,8 +4,8 @@ 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 /
|
8 |
-
RUN chmod +777 /
|
9 |
-
RUN echo
|
10 |
RUN chmod +x /home/ubuntu/vm.sh
|
11 |
CMD "/home/ubuntu/vm.sh"
|
|
|
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 /bin/gotty
|
8 |
+
RUN chmod +777 /bin/gotty
|
9 |
+
RUN echo /bin/gotty -w --port 7860 /bin/bash > /home/ubuntu/vm.sh
|
10 |
RUN chmod +x /home/ubuntu/vm.sh
|
11 |
CMD "/home/ubuntu/vm.sh"
|