feat: 添加Docker配置,集成my_oss图片服务

This commit is contained in:
Cuishibing
2026-04-26 20:44:55 +08:00
parent 9263f7f460
commit 0c03f95729
4 changed files with 66 additions and 7 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "start"]