diff --git a/Dockerfile b/Dockerfile index 8d58fa52e..bced6ab8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,8 @@ WORKDIR /app COPY . . RUN bun i -RUN cd web -RUN bun --bun run build +RUN cd web && bun --bun run vite build +RUN cd web && bun ./tools/patchSW.ts # ? ------------------------- diff --git a/bun.lockb b/bun.lockb index c9bc4cd36..1afc34496 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 5a967c320..f8dcc37a5 100644 --- a/package.json +++ b/package.json @@ -15,5 +15,9 @@ "bun-types": "1.0.21", "tslib": "2.6.2", "typescript": "5.3.3" + }, + "overrides": { + "@rollup/plugin-node-resolve": "15.2.3", + "sharp": "0.33.1" } } diff --git a/web/package.json b/web/package.json index d4784c5eb..a256e0b3a 100644 --- a/web/package.json +++ b/web/package.json @@ -66,9 +66,5 @@ "vite": "5.0.10", "vite-plugin-pwa": "0.17.4", "workbox-window": "7.0.0" - }, - "overrides": { - "@rollup/plugin-node-resolve": "15.2.3", - "sharp": "0.33.1" } } \ No newline at end of file