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

使用docker部署时如何映射文件路径? #106

Open
openXiaoshan opened this issue May 3, 2023 · 0 comments
Open

使用docker部署时如何映射文件路径? #106

openXiaoshan opened this issue May 3, 2023 · 0 comments

Comments

@openXiaoshan
Copy link

我按照python-flask的示例在进行部署。
我在python文件中会读取本地的一个配置文件(code/config.yml),当我使用s build --use-dockerg构建完,在本地使用s local start进行调试时,我发现根目录变成了/var/fc/runtime/python3.10。请问我应该如何在部署流程中,把本地的路径映射到docker容器当中呢?

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

No branches or pull requests

1 participant