feat: add delete route

This commit is contained in:
2024-06-28 00:14:39 +08:00
parent c0a1460ad8
commit 60653a5ba8
16 changed files with 2760 additions and 200 deletions

View File

@@ -4,15 +4,17 @@ FROM node:22-alpine
# 设置工作目录
WORKDIR /app
COPY script/package/package.json ./
# 复制 package.json 和 package-lock.json
COPY package*.json ./
# 安装依赖
# RUN npm install --production
# COPY package*.json ./
# 复制 dist 文件夹
COPY dist ./dist
COPY app.config.json5 ./dist/app.config.json5
COPY app.config.json5 ./app.config.json5
COPY .npmrc .
# 安装依赖
RUN npm install --production --registry=https://registry.npmmirror.com/
# 如果有其他静态资源文件夹,也可以一并复制
# COPY public ./public
@@ -22,3 +24,4 @@ EXPOSE 4000
# 启动应用
CMD ["node", "dist/app.cjs"]
# CMD ["tail", "-f", "/dev/null"]