feat: replace runtime ubuntu image with custom snek_ubuntu and move r binary into Dockerfile

Add DockerfileUbuntu that pre-installs r binary and all required system dependencies, removing the need for per-container apt installs and binary copy from .bashrc. Update terminal view to use the new snek_ubuntu image instead of ubuntu:latest. Fix terminal session buffer check to use self.history instead of self.buffer. Add docker build target to Makefile.
This commit is contained in:
2025-03-28 01:41:57 +00:00
parent 51d0ca1bc5
commit 9e9f317853
6 changed files with 20 additions and 8 deletions
+4 -1
View File
@@ -11,12 +11,15 @@ python:
dump:
@$(PYTHON) -m snek.dump
build:
run:
$(GUNICORN) -w $(GUNICORN_WORKERS) -k aiohttp.worker.GunicornWebWorker snek.gunicorn:app --bind 0.0.0.0:$(PORT) --reload
install:
python3.12 -m venv .venv
$(PIP) install -e .
docker build -f DockerfileUbuntu -t snek_ubuntu .