This commit is contained in:
Rui Carmo
2026-01-21 23:53:57 +00:00
commit a0e31d43fd
52 changed files with 6312 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Minimal image for serving a web terminal
FROM python:3.12-slim
# Install minimal dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
make \
&& rm -rf /var/lib/apt/lists/*
# Install textual-webterm
COPY . /app
WORKDIR /app
RUN make install
# Expose the default port
EXPOSE 8080
# Run the terminal server
ENTRYPOINT ["textual-webterm"]
CMD ["--host", "0.0.0.0", "--port", "8080"]