ref: use bun

This commit is contained in:
alikia2x (寒寒) 2024-10-19 20:47:12 +08:00
parent 5d72fa6b64
commit a0c75b14c3
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6
2 changed files with 4 additions and 1 deletions

View File

@ -13,6 +13,9 @@ RUN bun install
# Copy the rest of the application code # Copy the rest of the application code
COPY . . COPY . .
# Build the app
RUN bun run build
# Expose the port the app runs on # Expose the port the app runs on
EXPOSE 4173 EXPOSE 4173

View File

@ -11,7 +11,7 @@
"test": "vitest", "test": "vitest",
"lint": "prettier --check . && eslint .", "lint": "prettier --check . && eslint .",
"format": "prettier --write .", "format": "prettier --write .",
"go": "PORT=4173 node build" "go": "PORT=4173 bun ./build"
}, },
"devDependencies": { "devDependencies": {
"@iconify/svelte": "^4.0.2", "@iconify/svelte": "^4.0.2",