From 12e3cf2f85e32014a62e27bf4ba3efbed9fa9487 Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Mon, 21 Jul 2025 15:41:42 +0200 Subject: [PATCH] fix dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1395753..5890708 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,16 +4,17 @@ WORKDIR /usr/src/app FROM base AS install RUN mkdir -p /temp/dev COPY package.json bun.lock /temp/dev +COPY patches/ /temp/dev/patches/ RUN cd /temp/dev && bun install --frozen-lockfile RUN mkdir -p /temp/prod COPY package.json bun.lock /temp/prod/ +COPY patches/ /temp/prod/patches/ RUN cd /temp/prod && bun install --frozen-lockfile --production FROM base AS prerelease COPY --from=install /temp/dev/node_modules node_modules COPY . . -# RUN echo "SESSION_SECRET=$(head -c 64 /dev/random | base64)" > .env ENV NODE_ENV=production ENV SERVER_PRESET=bun