Fix patch files not being used in build

This commit is contained in:
Lucas Winther
2026-07-28 07:45:39 +02:00
parent 1a1a162c53
commit 5c911d703e
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Only what the Dockerfile COPYs matters: package.json/bun.lock/bunfig.toml, # 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 .git
node_modules node_modules
dist dist
+2
View File
@@ -17,6 +17,7 @@ FROM oven/bun:1 AS build
WORKDIR /app WORKDIR /app
COPY package.json bun.lock bunfig.toml ./ COPY package.json bun.lock bunfig.toml ./
COPY patches ./patches
RUN bun install --frozen-lockfile RUN bun install --frozen-lockfile
COPY src ./src COPY src ./src
@@ -35,6 +36,7 @@ ENV DB_PATH=/app/data/app.db
ENV AUTH_ENABLED=true ENV AUTH_ENABLED=true
COPY package.json bun.lock bunfig.toml ./ COPY package.json bun.lock bunfig.toml ./
COPY patches ./patches
RUN bun install --frozen-lockfile --production RUN bun install --frozen-lockfile --production
COPY src ./src COPY src ./src