This commit is contained in:
aaron 2026-04-08 22:45:58 +08:00
parent e37803de09
commit ffe36b4055
8 changed files with 78 additions and 15 deletions

View File

@ -1,10 +1,4 @@
node_modules node_modules
src .next
.git .git
.env* .env*
package.json
package-lock.json
tsconfig.json
tailwind.config.ts
postcss.config.js
next.config.js

View File

@ -11,10 +11,10 @@
"static/chunks/main-app.js", "static/chunks/main-app.js",
"static/chunks/app/page.js" "static/chunks/app/page.js"
], ],
"/_not-found/page": [ "/stock/[code]/page": [
"static/chunks/webpack.js", "static/chunks/webpack.js",
"static/chunks/main-app.js", "static/chunks/main-app.js",
"static/chunks/app/_not-found/page.js" "static/chunks/app/stock/[code]/page.js"
] ]
} }
} }

View File

@ -1 +1,20 @@
{} {
"components/capital-flow.tsx -> echarts": {
"id": "components/capital-flow.tsx -> echarts",
"files": [
"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js"
]
},
"components/kline-chart.tsx -> echarts": {
"id": "components/kline-chart.tsx -> echarts",
"files": [
"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js"
]
},
"components/score-radar.tsx -> echarts": {
"id": "components/score-radar.tsx -> echarts",
"files": [
"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js"
]
}
}

View File

@ -1,4 +1,4 @@
{ {
"/_not-found/page": "app/_not-found/page.js", "/stock/[code]/page": "app/stock/[code]/page.js",
"/page": "app/page.js" "/page": "app/page.js"
} }

View File

@ -1 +1 @@
self.__REACT_LOADABLE_MANIFEST="{}" self.__REACT_LOADABLE_MANIFEST="{\"components/capital-flow.tsx -> echarts\":{\"id\":\"components/capital-flow.tsx -> echarts\",\"files\":[\"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js\"]},\"components/kline-chart.tsx -> echarts\":{\"id\":\"components/kline-chart.tsx -> echarts\",\"files\":[\"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js\"]},\"components/score-radar.tsx -> echarts\":{\"id\":\"components/score-radar.tsx -> echarts\",\"files\":[\"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js\"]}}"

View File

@ -125,7 +125,7 @@
/******/ /******/
/******/ /* webpack/runtime/getFullHash */ /******/ /* webpack/runtime/getFullHash */
/******/ (() => { /******/ (() => {
/******/ __webpack_require__.h = () => ("457ff384495915e8") /******/ __webpack_require__.h = () => ("64fc734a2bef9f33")
/******/ })(); /******/ })();
/******/ /******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ /* webpack/runtime/hasOwnProperty shorthand */

File diff suppressed because one or more lines are too long

View File

@ -1,11 +1,26 @@
# Stage 1: Build
FROM node:20-alpine AS builder
WORKDIR /app
ARG BACKEND_URL=http://localhost:8000
COPY package.json package-lock.json* yarn.lock* ./
RUN npm ci
COPY . .
ENV BACKEND_URL=$BACKEND_URL
RUN npm run build
# Stage 2: Runtime
FROM node:20-alpine FROM node:20-alpine
WORKDIR /app WORKDIR /app
ENV NODE_ENV=production ENV NODE_ENV=production
COPY .next/standalone ./ COPY --from=builder /app/.next/standalone ./
COPY .next/static ./.next/static COPY --from=builder /app/.next/static ./.next/static
EXPOSE 3002 EXPOSE 3002