Terminal / Dockerfile
Clone04's picture
Create Dockerfile
df51516 verified
raw
history blame
219 Bytes
# 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"]