Community maintained Docker config for the knot server

Add UID and GID arguments to Dockerfile #11

merged
opened by ionchy.ca targeting main from ionchy.ca/knot-docker: main

UID and GID args can now be set during build, so following the example command in the README should fix #2 by providing a UID and GID that exist on the host so that the directories owned by git in the container can be bind mounted on the host.

0
by ionchy.ca 3 comments
expand 1 commit
Add UID and GID arguments to Dockerfile

The UID and GID arguments should probably be env variables so they can be changed in managed environments like Coolify or Railway but if it's too hard to resubmit the PR with JJ, I can just merge and patch this after.

actually i think that's probably overkill, arg should be fine

@knotbin.com it wouldn't be overkill for those of us running the prebuilt image

pull request successfully merged
sign up or login to add to the discussion
Labels

None yet.

Participants 3
AT URI
at://did:plc:ypsrm6ue6o5xk5kvbdhwtppm/sh.tangled.repo.pull/3m3ld35ii6p22