You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN groupadd -r -f librum-server
RUN useradd -r -g librum-server -d /var/lib/librum-server --shell /usr/sbin/nologin librum-server
This is really unnecessary and unorthodox. The randomly assigned user ID inside the image had nothing to do with user IDs on the host so it makes using bind mount for the storage directory difficult.
A better approach would be just leaving it to the users to assign a user and group ID at runtime.
The text was updated successfully, but these errors were encountered:
It seems the Dockerfile creates a user itself
This is really unnecessary and unorthodox. The randomly assigned user ID inside the image had nothing to do with user IDs on the host so it makes using bind mount for the storage directory difficult.
A better approach would be just leaving it to the users to assign a user and group ID at runtime.
The text was updated successfully, but these errors were encountered: