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"]