Terminal / Dockerfile
Clone04's picture
Update Dockerfile
0022230 verified
raw
history blame
240 Bytes
# Use an official Golang base image
FROM golang:alpine
# Install WebTTY
RUN apk add --no-cache git && \
go install github.com/tsl0922/ttyd@latest
# Expose port 7681 for WebTTY
EXPOSE 7681
# Start WebTTY with bash
CMD ["ttyd", "bash"]