Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(upload):fix the upload dir #58

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
这是上传文件的临时保存区域
Loading