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

Add dockerfile #2

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

Conversation

ShenJiahuan
Copy link

@ShenJiahuan ShenJiahuan commented Aug 6, 2022

  • 构建:
    docker build . -t jbox-webdav
  • 使用:
    因为目前需要在命令行交互式地输入用户名密码,所以容器启动分为两个部分,第一步输入用户名密码后直接退出,第二步使其在后台运行
    docker run --rm -v /path/to/cookie:/app/net6.0/JboxWebdav -it jbox-webdav
    docker run -p 65472:65472 -v /path/to/cookie:/app/net6.0/JboxWebdav -dt jbox-webdav

@1357310795
Copy link
Owner

感谢pr!我对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

Successfully merging this pull request may close these issues.

2 participants