Files
snek/DockerfileDrive
T
retoor 32aab59086 fix: correct DockerfileUbuntu package list, add rustup install, and fix terminal init sequence
- Fix typo in DockerfileDrive COPY command (COpy -> COPY)
- Add xterm, valgrind, ack, irssi, lynx packages to DockerfileUbuntu
- Add rustup installation with nightly toolchain in DockerfileUbuntu
- Fix r binary move path in DockerfileUbuntu (add trailing /r)
- Remove CMD ["r"] from DockerfileUbuntu
- Replace terminal.html onopen handler: call fitAddon.fit() and send form feed instead of hardcoded green text
- Add $HOME/bin to PATH in .bashrc
- Add resize command to .bashrc for terminal geometry sync
- Delete terminal/.rcontext.txt file entirely
2025-05-08 01:20:06 +00:00

16 lines
422 B
Plaintext

FROM python:3.12.8-alpine3.21
WORKDIR /code
RUN apk add --no-cache gcc musl-dev linux-headers git openssh
#WKHTMLTOPDFNEEDS
COPY pyproject.toml pyproject.toml
COPY src src
COPY ssh_host_key ssh_host_key
RUN pip install --upgrade pip
RUN pip install -e .
EXPOSE 2225
#CMD ["python","-m","snekssh.app"]
#CMD ["gunicorn", "-w", "10", "-k", "aiohttp.worker.GunicornWebWorker", "snek.gunicorn:app","--bind","0.0.0.0:8081"]