Compare commits

...

8 Commits

Author SHA1 Message Date
hamster1963
58e3c50801 fix: docker 2024-11-23 15:51:04 +08:00
hamster1963
c3043dad07 Merge branch 'main' into cloudflare 2024-11-23 15:50:58 +08:00
hamster1963
9738ba97c1 update: v1.4.9 2024-11-23 15:50:13 +08:00
hamster1963
87b8651adb chore: deps 2024-11-23 15:49:13 +08:00
仓鼠
f4645d956e
fix: Dockerfile 2024-11-23 14:29:47 +08:00
hamster1963
97cb19f820 update: use node runtime 2024-11-23 14:03:13 +08:00
hamster1963
8f5fc7ef71 fix(docker): use node as runtime 2024-11-23 14:02:46 +08:00
hamster1963
fa0694dcf4 fix(docker): use node as runtime 2024-11-23 14:02:18 +08:00
3 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ COPY . .
RUN bun run build
# Stage 3: Production image
FROM oven/bun:1-alpine AS runner
FROM node:23-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
COPY --from=builder /app/public ./public
@ -22,4 +22,4 @@ COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
EXPOSE 3000
CMD ["bun", "run", "server.js"]
CMD ["node", "server.js"]

BIN
bun.lockb

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "nezha-dash",
"version": "1.4.8",
"version": "1.4.9",
"private": true,
"scripts": {
"dev": "next dev -p 3040",
@ -32,7 +32,7 @@
"dotted-map": "^2.2.3",
"eslint-plugin-simple-import-sort": "^12.1.1",
"flag-icons": "^7.2.3",
"framer-motion": "^12.0.0-alpha.1",
"framer-motion": "^12.0.0-alpha.2",
"lucide-react": "^0.454.0",
"luxon": "^3.5.0",
"next": "^15.0.3",
@ -54,8 +54,8 @@
},
"devDependencies": {
"@next/bundle-analyzer": "^15.0.3",
"@tailwindcss/postcss": "^4.0.0-beta.1",
"@types/node": "^22.9.1",
"@tailwindcss/postcss": "^4.0.0-beta.2",
"@types/node": "^22.9.3",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"eslint": "^9.15.0",
@ -65,8 +65,8 @@
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.9",
"tailwindcss": "^4.0.0-beta.1",
"typescript": "^5.6.3"
"tailwindcss": "^4.0.0-beta.2",
"typescript": "^5.7.2"
},
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.1",