Skip to content

Commit

Permalink
Merge pull request #58 from OOrangeeee/online/deploy-debug
Browse files Browse the repository at this point in the history
fix(upload):fix the upload dir
  • Loading branch information
OOrangeeee authored Oct 16, 2024
2 parents 62477e5 + 98fbfaf commit f00d477
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,4 @@ ai/StrongSORT-YOLO-main/MOT16_eval/
ai/StrongSORT-YOLO-main/runs/
ai/StrongSORT-YOLO-main/videos/
ai/StrongSORT-YOLO-main/weights/
ai/StrongSORT-YOLO-main/testing.jpg

uploads/
ai/StrongSORT-YOLO-main/testing.jpg
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
# 从builder镜像中复制配置和日志目录
COPY --from=builder /app/configs/ ./configs/
COPY --from=builder /app/logs/ ./logs/
COPY --from=builder /app/uploads/ ./uploads/
# 设置时区环境变量
ENV TZ=Asia/Shanghai
# 暴露端口
Expand Down
1 change: 1 addition & 0 deletions uploads/upload.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
这是上传文件的临时保存区域

0 comments on commit f00d477

Please sign in to comment.