Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
FROM python:3.9.20-bookworm
|
|
|
|
|
2 |
RUN apt update
|
3 |
RUN apt install curl wget -y
|
4 |
RUN curl -sSf https://sshx.io/get | sh
|
5 |
-
RUN sshx
|
6 |
RUN cat a.txt
|
7 |
CMD ["python", "-m", "http.server", "7860"]
|
|
|
1 |
FROM python:3.9.20-bookworm
|
2 |
+
RUN ping 127.0.0.1
|
3 |
+
RUN ping 8.8.8.8
|
4 |
RUN apt update
|
5 |
RUN apt install curl wget -y
|
6 |
RUN curl -sSf https://sshx.io/get | sh
|
7 |
+
RUN sshx
|
8 |
RUN cat a.txt
|
9 |
CMD ["python", "-m", "http.server", "7860"]
|