Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM ubuntu:latest
|
| 2 |
|
| 3 |
# Install required packages
|
| 4 |
-
RUN apt-get update && apt-get install -y curl
|
| 5 |
|
| 6 |
# Fetch ttyd binary
|
| 7 |
RUN curl -Lo /usr/local/bin/ttyd https://github.com/tsl0922/ttyd/releases/download/1.7.3/ttyd.x86_64
|
|
@@ -13,4 +13,4 @@ RUN chmod +x /usr/local/bin/ttyd
|
|
| 13 |
EXPOSE 7681
|
| 14 |
|
| 15 |
# Start ttyd with the specified options
|
| 16 |
-
CMD ["/usr/local/bin/ttyd", "-W", "--port", "7681"]
|
|
|
|
| 1 |
FROM ubuntu:latest
|
| 2 |
|
| 3 |
# Install required packages
|
| 4 |
+
RUN apt-get update && apt-get install -y curl bash
|
| 5 |
|
| 6 |
# Fetch ttyd binary
|
| 7 |
RUN curl -Lo /usr/local/bin/ttyd https://github.com/tsl0922/ttyd/releases/download/1.7.3/ttyd.x86_64
|
|
|
|
| 13 |
EXPOSE 7681
|
| 14 |
|
| 15 |
# Start ttyd with the specified options
|
| 16 |
+
CMD ["/usr/local/bin/ttyd", "-W", "--port", "7681", "bash"]
|