blobba commited on
Commit
cfa76a5
·
1 Parent(s): f7fe8f3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -4,13 +4,13 @@ FROM ubuntu:latest
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
8
 
9
  # Set permissions
10
- RUN chmod +x /usr/local/bin/ttyd
11
 
12
  # Expose the desired port
13
  EXPOSE 7681
14
 
15
  # Start ttyd with the specified options
16
- CMD ["/usr/local/bin/ttyd", "-W", "--port", "7681", "bash"]
 
4
  RUN apt-get update && apt-get install -y curl bash
5
 
6
  # Fetch ttyd binary
7
+ RUN curl -Lo ttyd https://github.com/tsl0922/ttyd/releases/download/1.7.3/ttyd.x86_64
8
 
9
  # Set permissions
10
+ RUN chmod +x ttyd
11
 
12
  # Expose the desired port
13
  EXPOSE 7681
14
 
15
  # Start ttyd with the specified options
16
+ CMD ["ttyd", "--writable", "--port", "7681", "bash"]