From a93efe515015e52b9a0558b75653df6f7109dd18 Mon Sep 17 00:00:00 2001 From: m4x809 Date: Sat, 25 Oct 2025 04:02:08 +0200 Subject: [PATCH] Update Dockerfile to replace next.config.js with next.config.ts - Changed the Dockerfile to copy next.config.ts instead of next.config.js, aligning with TypeScript configuration. - Removed unnecessary copies of bunScripts and env.js to streamline the build process. --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc1f22a..e51b0e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,7 @@ WORKDIR /app # Copy dependencies and config files COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/package.json ./ -COPY --from=deps /app/bunfig.toml ./ -COPY --from=deps /app/next.config.js ./ +COPY --from=deps /app/next.config.ts ./ # Copy source code COPY . . @@ -44,9 +43,7 @@ COPY --from=builder /app/.next/static ./.next/static COPY --from=builder /app/public ./public COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package.json ./ -COPY --from=builder /app/src/env.js ./src/env.js -COPY --from=builder /app/next.config.js ./ -COPY --from=builder /app/bunScripts ./bunScripts +COPY --from=builder /app/next.config.ts ./ ENV TZ="CET" ENV LANG="de_DE.UTF-8"