# Use an official Alpine Linux base image | |
FROM alpine:latest | |
# Install ttyd and a shell (like bash) | |
RUN apk add --no-cache ttyd bash | |
# Expose port 7681 for ttyd | |
EXPOSE 7681 | |
# Start ttyd with bash | |
CMD ["ttyd", "bash"] |
# Use an official Alpine Linux base image | |
FROM alpine:latest | |
# Install ttyd and a shell (like bash) | |
RUN apk add --no-cache ttyd bash | |
# Expose port 7681 for ttyd | |
EXPOSE 7681 | |
# Start ttyd with bash | |
CMD ["ttyd", "bash"] |