增加dockerfile配置

This commit is contained in:
2026-04-09 15:58:05 +08:00
parent 8a78344eb7
commit 6e14bbc09f
7 changed files with 345 additions and 5 deletions

View File

@@ -20,5 +20,5 @@ RUN mkdir -p /logs /app/resource/log/run /app/resource/log/server
EXPOSE 8000
# 使用root用户运行避免权限问题
# 前台运行(确保容器不会立即退出
CMD ["./main"]