mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	BookWyrm: update Dockerfile and env handling
- Remove ARG BOOKWYRM_VERSION default, use Jinja variable directly - Add proper SMTP environment variables mapping (EMAIL_HOST, EMAIL_PORT, TLS/SSL flags, user, password, default_from) - Ensure env.j2 uses BookWyrm-expected names only Ref: ChatGPT conversation 2025-09-02 https://chatgpt.com/share/68b6dc73-3784-800f-9a7e-340be498a412
This commit is contained in:
		| @@ -1,5 +1,4 @@ | ||||
| # Build BookWyrm from source (no upstream image available) | ||||
| ARG BOOKWYRM_VERSION={{ BOOKWYRM_VERSION | default('v0.7.5') }} | ||||
| FROM python:3.11-bookworm AS builder | ||||
|  | ||||
| RUN apt-get update && apt-get install -y --no-install-recommends \ | ||||
| @@ -9,7 +8,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | ||||
|  | ||||
| WORKDIR /src | ||||
| # Shallow clone the chosen tag/branch | ||||
| RUN git clone --depth=1 --branch "${BOOKWYRM_VERSION}" https://github.com/bookwyrm-social/bookwyrm.git . | ||||
| RUN git clone --depth=1 --branch "{{ BOOKWYRM_VERSION }}" https://github.com/bookwyrm-social/bookwyrm.git . | ||||
|  | ||||
| # Pre-install Python deps to a wheelhouse for faster final image | ||||
| RUN pip install --upgrade pip \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user