build: Migrate image to debian-based

This commit is contained in:
Chris Coutinho
2025-11-16 07:32:01 +01:00
parent 16c22c953b
commit 96cee48258
+7 -2
View File
@@ -1,9 +1,14 @@
FROM ghcr.io/astral-sh/uv:0.9.9-python3.11-alpine@sha256:0faa7934fac1db7f5056f159c1224d144bab864fd2677a4066d25a686ae32edd
#FROM ghcr.io/astral-sh/uv:0.9.9-python3.11-bookworm-slim
FROM python:3.12-slim-trixie
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# Install dependencies
# 1. git (required for caldav dependency from git)
# 2. sqlite for development with token db
RUN apk add --no-cache git sqlite
RUN apt update && apt install --no-install-recommends --no-install-suggests -y \
git \
sqlite3
WORKDIR /app