From a0c75b14c3eafb08c7b6795c71dafdde1db3cab1 Mon Sep 17 00:00:00 2001 From: alikia2x Date: Sat, 19 Oct 2024 20:47:12 +0800 Subject: [PATCH] ref: use bun --- Dockerfile | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9bca757..805fe03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,9 @@ RUN bun install # Copy the rest of the application code COPY . . +# Build the app +RUN bun run build + # Expose the port the app runs on EXPOSE 4173 diff --git a/package.json b/package.json index d192454..ceb53a6 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test": "vitest", "lint": "prettier --check . && eslint .", "format": "prettier --write .", - "go": "PORT=4173 node build" + "go": "PORT=4173 bun ./build" }, "devDependencies": { "@iconify/svelte": "^4.0.2",