Fix patch files not being used in build
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user