增加docke部署

This commit is contained in:
2026-04-10 16:44:13 +08:00
parent e2f8054794
commit cd4ddb606d
5076 changed files with 701092 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
@echo off
setlocal
set PORT=3000
echo Looking for process on port %PORT%...
:: 查找占用端口 3000 的进程 PID
set PID=
for /f "tokens=5" %%a in ('netstat -aon ^| findstr ":%PORT% " ^| findstr "LISTENING"') do (
set PID=%%a
)
if defined PID (
echo Found process with PID: %PID%
echo Killing process...
taskkill /F /PID %PID%
echo Server stopped successfully.
) else (
echo No server found running on port %PORT%.
)
pause