gotty-test-00 / Dockerfile
blobba's picture
Update Dockerfile
cfa76a5
raw
history blame
375 Bytes
FROM ubuntu:latest
# Install required packages
RUN apt-get update && apt-get install -y curl bash
# Fetch ttyd binary
RUN curl -Lo ttyd https://github.com/tsl0922/ttyd/releases/download/1.7.3/ttyd.x86_64
# Set permissions
RUN chmod +x ttyd
# Expose the desired port
EXPOSE 7681
# Start ttyd with the specified options
CMD ["ttyd", "--writable", "--port", "7681", "bash"]