修复监控视频展示并更新产品素材

This commit is contained in:
admin
2026-10-10 18:47:30 +08:00
parent 9c9079c998
commit f7e9b146b3
18 changed files with 77 additions and 59 deletions
+4 -3
View File
@@ -1,6 +1,7 @@
FROM node:20-bookworm-slim
ENV TZ=Asia/Shanghai
ENV TZ=Asia/Shanghai \
NPM_CONFIG_REGISTRY=https://registry.npmmirror.com
RUN echo $TZ > /etc/timezone && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata
@@ -11,7 +12,7 @@ COPY ./backend /usr/share/smart-parking-platform/backend
WORKDIR /usr/share/smart-parking-platform/backend
RUN npm i -g pnpm@8.15.0 && \
RUN npm i -g pnpm@8.15.0 --registry=https://registry.npmmirror.com && \
pnpm install --frozen-lockfile && \
pnpm run build && \
mkdir -p /var/www/html/public
@@ -21,4 +22,4 @@ COPY ./backend/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80 1515
CMD service nginx start && pnpm run start:prod
CMD service nginx start && pnpm run start:prod