From 5b0b58079243197f52cee707916e99305759a3fd Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Mon, 3 Aug 2026 20:13:26 -0400 Subject: [PATCH] fix: add yaml dependency to v.mod + Dockerfile v install yaml The thevlang/vlang:alpine container doesn't include the yaml module. Added it as a declared dependency and install step. --- Dockerfile | 1 + v.mod | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b81d490..d276eda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM thevlang/vlang:alpine AS builder # Copy project source and build WORKDIR /src COPY . . +RUN v install yaml RUN v -prod -o /ntfy-bridge . # ── Runtime: minimal image ──────────────────────────────────────────────── diff --git a/v.mod b/v.mod index 2442a91..82cf3c4 100644 --- a/v.mod +++ b/v.mod @@ -3,6 +3,6 @@ Module { description: 'Homelab notification hub — aggregates Gitea, Docker, Uptime Kuma → Ntfy' version: '0.5.0' license: 'MIT' - dependencies: [] + dependencies: ['https://github.com/vlang/yaml'] subdirs: ['sources'] }