first commit

This commit is contained in:
gqc
2025-12-10 14:34:57 +08:00
parent 9b02bd9779
commit c554fd3d3d
13 changed files with 182 additions and 277 deletions
+22
View File
@@ -0,0 +1,22 @@
FROM debian:bullseye-slim
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone
# 复制 deb 包到容器中
COPY mp4-merge_0.1.11-1_arm64.deb /tmp/
RUN dpkg -i /tmp/mp4-merge_0.1.11-1_arm64.deb || (apt-get update && apt-get install -f -y)
COPY models/ /usr/local/models/
# 复制启动脚本
COPY start.sh /usr/local/start.sh
RUN chmod +x /usr/local/start.sh
WORKDIR /usr/local/models
RUN chmod +x yolov5
CMD ["/usr/local/start.sh"]