Refactor Docker setup and enhance file transfer progress handling. Updated Dockerfile for multi-stage builds, modified docker-compose.yml to include image and container name, and improved progress bar functionality in app.js for better user feedback during file transfers.

This commit is contained in:
liu
2026-02-03 11:35:29 +08:00
parent 7e288f7c90
commit caf0d97903
6 changed files with 71 additions and 16 deletions

View File

@@ -1,7 +1,9 @@
version: '3'
# SFTP Manager - 拉代码后执行 run.sh / run.bat 即可运行
services:
sftp-manager:
build: .
image: sftp-manager:latest
container_name: sftp-manager
ports:
- "48081:48081"
volumes:
@@ -9,4 +11,4 @@ services:
- ./logs:/app/logs
environment:
- SPRING_PROFILES_ACTIVE=prod
restart: always
restart: unless-stopped