fix Deployment

This commit is contained in:
2025-07-28 14:27:10 +08:00
parent cdd204a9ae
commit 07e644e1cf
3 changed files with 3 additions and 43 deletions

View File

@@ -60,8 +60,8 @@ COPY --chown=tyapi:tyapi configs/ ./configs/
# 创建日志目录
RUN mkdir -p logs && chown -R tyapi:tyapi logs
# 切换到非root用户
USER tyapi
# 使用root权限运行注释掉非root用户
# USER tyapi
# 暴露端口
EXPOSE 8080