From 5c911d703e460c7406b2774fd72f39c9c685edde Mon Sep 17 00:00:00 2001 From: Lucas Winther Date: Tue, 28 Jul 2026 07:45:39 +0200 Subject: [PATCH] Fix patch files not being used in build --- .dockerignore | 2 +- Dockerfile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index cabc73c..98d653f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,5 @@ # Only what the Dockerfile COPYs matters: package.json/bun.lock/bunfig.toml, -# src/, scripts/, server-py/. Everything else is noise for the build context. +# patches/, src/, scripts/, server-py/. Everything else is noise for the build context. .git node_modules dist diff --git a/Dockerfile b/Dockerfile index 8799e23..db2f53a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ FROM oven/bun:1 AS build WORKDIR /app COPY package.json bun.lock bunfig.toml ./ +COPY patches ./patches RUN bun install --frozen-lockfile COPY src ./src @@ -35,6 +36,7 @@ ENV DB_PATH=/app/data/app.db ENV AUTH_ENABLED=true COPY package.json bun.lock bunfig.toml ./ +COPY patches ./patches RUN bun install --frozen-lockfile --production COPY src ./src