Compare commits

..

No commits in common. "be4eef6fd1b13e437ecc46c1df119776c633565b" and "80824c03816c20514a5e9bf82cfadf822582dfc2" have entirely different histories.

2 changed files with 0 additions and 27 deletions

View File

@ -1,10 +0,0 @@
FROM node:18
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .

View File

@ -1,17 +0,0 @@
# 使用官方的 Node.js 镜像作为基础镜像
FROM node:18
# 设置工作目录
WORKDIR /app
# 复制 package.json 和 package-lock.json如果存在到工作目录
COPY package*.json ./
# 安装项目依赖
RUN npm install
# 复制项目文件到工作目录
COPY . .
# 构建项目
RUN npm run build