feat:增加更改图片大小功能

This commit is contained in:
2026-02-14 10:41:36 +08:00
parent e0c08e8055
commit f125ce98c9
5 changed files with 103 additions and 790 deletions

View File

@@ -3,7 +3,7 @@ WORKDIR /app
RUN npm config set registry https://registry.npmmirror.com/
COPY package*.json ./
RUN npm install --production
COPY app.js .
COPY . .
RUN mkdir -p /app/images
EXPOSE 3000
ENV IMAGE_BASE_DIR=/app/images