feat: 完善智慧停车综合管理平台源码

This commit is contained in:
admin
2026-10-10 17:20:00 +08:00
commit 9c9079c998
170 changed files with 27985 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
FROM node:20-bookworm-slim
ENV TZ=Asia/Shanghai
RUN echo $TZ > /etc/timezone && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata
RUN apt-get update && apt-get install -y curl nginx libnginx-mod-rtmp && rm -rf /var/lib/apt/lists/*
COPY ./backend /usr/share/smart-parking-platform/backend
WORKDIR /usr/share/smart-parking-platform/backend
RUN npm i -g pnpm@8.15.0 && \
pnpm install --frozen-lockfile && \
pnpm run build && \
mkdir -p /var/www/html/public
COPY ./frontend/dist /usr/share/smart-parking-platform/frontend/dist
COPY ./backend/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80 1515
CMD service nginx start && pnpm run start:prod