Create Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use an official Alpine Linux base image
|
2 |
+
FROM alpine:latest
|
3 |
+
|
4 |
+
# Install ttyd and a shell (like bash)
|
5 |
+
RUN apk add --no-cache ttyd bash
|
6 |
+
|
7 |
+
# Expose port 7681 for ttyd
|
8 |
+
EXPOSE 7681
|
9 |
+
|
10 |
+
# Start ttyd with bash
|
11 |
+
CMD ["ttyd", "bash"]
|