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

feat: add dockerfile #366

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: add dockerfile #366

wants to merge 1 commit into from

Conversation

xuhe2
Copy link

@xuhe2 xuhe2 commented Oct 21, 2024

详见 #365

打包效果

image

@zfdx123
Copy link

zfdx123 commented Dec 5, 2024

添加docker支持需要修改进度输出,docker似乎不支持\r的这种输出格式

@xuhe2
Copy link
Author

xuhe2 commented Dec 5, 2024

添加docker支持需要修改进度输出,docker似乎不支持\r的这种输出格式

我使用我自己打包的镜像, 这似乎不存在问题, docker运行的输出都是打印在终端中, 我不理解你说的\r返回行首部会存在什么问题, 终端是负责处理输出的而不是docker
image

@zfdx123
Copy link

zfdx123 commented Dec 5, 2024

那确实很奇怪,我这边直接不输出,不知道是什么问题,我也感觉很奇怪

@zfdx123
Copy link

zfdx123 commented Dec 5, 2024

image
可以看到没有任何输出信息

@zfdx123
Copy link

zfdx123 commented Dec 5, 2024

我找到了一个差不多的问题,但是并没有一个解决方案,https://stackoverflow.com/questions/70781537/python-3-app-running-in-docker-compose-will-not-print-using-printtext-end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants