Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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 ["
|
|
|
|
| 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"]
|