feat: 后端搜索接口开发

This commit is contained in:
2025-05-11 09:41:48 +08:00
parent 7350f43a72
commit 9b2584d32c
20 changed files with 12571 additions and 6790 deletions
+26
View File
@@ -0,0 +1,26 @@
# Build stage
FROM node:20-alpine as builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Production stage
FROM node:20-alpine
WORKDIR /app
COPY --from=builder /app/.output ./.output
COPY --from=builder /app/package*.json ./
ENV NODE_ENV=production
ENV HOST=0.0.0.0
ENV PORT=3000
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]
+1 -1
View File
@@ -11,6 +11,6 @@ export default defineNuxtConfig({
port: 3000
},
app: {
baseURL: '/absproxy/3000'
// baseURL: '/absproxy/3000'
}
})
+11 -5
View File
@@ -1,7 +1,7 @@
{
"name": "nuxt-app",
"name": "bps-frontend",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
@@ -10,8 +10,14 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"nuxt": "^3.17.1",
"vue": "^3.5.13",
"vue-router": "^4.5.1"
"@nuxtjs/tailwindcss": "^6.11.0",
"nuxt": "^3.10.0",
"vue": "^3.4.0",
"vue-router": "^4.2.0"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"@types/node": "^20.0.0",
"typescript": "^5.0.0"
}
}
+4710 -5232
View File
File diff suppressed because it is too large Load Diff