Files
aurak/server/Dockerfile
T
Developer 8686d101cd Initial commit: AuraK人才测评系统基础框架
## 已实现功能
- 题库管理后端API完整实现
- 模板管理页面(Settings-测评模板)
- 评估统计页面
- 人才测评页面(AssessmentView)
- QuestionBank前端服务层

## 技术栈
- 后端: Node.js + NestJS + TypeORM
- 前端: React + TypeScript
- 容器化: Docker Compose

## 已知待完善
- 题库列表页缺少删除按钮
- 题库详情页未实现(题目管理/AI生成/审核)
2026-05-13 21:32:41 +08:00

27 lines
621 B
Docker

FROM node:20-alpine
WORKDIR /app
# Set apk mirror and install build tools for native modules
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk add --no-cache python3 make g++ imagemagick poppler-utils ghostscript
# Copy package files
COPY package*.json yarn.lock* ./
# Set yarn registry and install all dependencies (including dev for build)
RUN yarn config set registry https://registry.yarnpkg.com && \
yarn install
# Copy source code
COPY . .
# Build the application
RUN yarn build
# Expose port
EXPOSE 3001
# Start application
CMD ["node", "/app/dist/main.js"]