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
+23
View File
@@ -0,0 +1,23 @@
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
# ffmpeg 用于向 nginx-rtMP 循环推流
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && \
rm -rf /var/lib/apt/lists/*
WORKDIR /simulator
COPY simulator/package.json ./
RUN npm install --omit=dev
COPY simulator/simulator.js ./
COPY simulator/assets /assets
ENV ASSETS_DIR=/assets \
FFMPEG_BIN=ffmpeg
CMD ["node", "simulator.js"]