semuthitamku commited on
Commit
2b2fef5
·
verified ·
1 Parent(s): 8c42991

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -6,6 +6,8 @@ ENV DEBIAN_FRONTEND=noninteractive \
6
  USER root
7
  RUN apt-get update && apt-get upgrade -y
8
  RUN apt-get install -y curl python3
9
- RUN curl -sSf https://sshx.io/get | sh -s run
 
 
10
  RUN printenv
11
- CMD ["python3", "-m", "http.server", "7860"]
 
6
  USER root
7
  RUN apt-get update && apt-get upgrade -y
8
  RUN apt-get install -y curl python3
9
+ # RUN curl -sSf https://sshx.io/get | sh -s run
10
+ EXPOSE 7860
11
+ RUN python3 -m http.server 7860 --bind 0.0.0.0
12
  RUN printenv
13
+ CMD ["curl", "-sSf", "https://sshx.io/get", "|", "sh", "-s", "run"]