From 145892682cb523311b67bf0128a2563e3ad6f89d Mon Sep 17 00:00:00 2001 From: Yunus Date: Thu, 23 Jan 2025 22:45:48 +0700 Subject: [PATCH] Fix build docker and remove prerender --- Dockerfile | 2 +- nuxt.config.ts | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index f33b98f..308cf92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM oven/bun:1 as builder WORKDIR /builder -COPY package.json bun.lockb /builder/ +COPY package.json bun.lock /builder/ RUN bun install --frozen-lockfile COPY . . RUN bun run build --preset=bun diff --git a/nuxt.config.ts b/nuxt.config.ts index d986787..2d56b74 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -63,14 +63,6 @@ export default defineNuxtConfig({ compatibilityDate: '2024-08-20', devtools: { enabled: true }, ssr: false, - routeRules: { - '/': { - prerender: true, - }, - '/**': { - ssr: false, - }, - }, spaLoadingTemplate: true, runtimeConfig: { app: {