---初始化后台管理web页面项目

This commit is contained in:
2025-08-20 14:39:30 +08:00
parent ad49711a7e
commit 87545a8baf
2057 changed files with 282864 additions and 213 deletions

23
Dockerfile Normal file
View File

@ -0,0 +1,23 @@
# 使用 Node.js 18 作为基础镜像
#FROM 10.4.117.234:8082/node:20-alpine
FROM --platform=linux/arm64 docker.xuanyuan.run/library/node:20-alpine
# 在容器中创建工作目录
WORKDIR /app
# 拷贝整个应用程序到工作目录
COPY . .
# 安装依赖
RUN yarn install
# 构建应用程序
RUN yarn build
# 暴露端口
EXPOSE 3100
# 运行应用程序
CMD [ "npm", "run", "serve" ]
#docker build -t pcitc/itc-web:1.0.0 .