mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-14 00:00:29 -04:00
Run as www-data user, with permission to write ledgersmb.conf file.
Fixes #6.
This commit is contained in:
@@ -71,6 +71,8 @@ RUN mkdir -p /tmp && \
|
||||
|
||||
# Internal Port Expose
|
||||
EXPOSE 5762
|
||||
#USER www-data
|
||||
# If ledgersmb.conf does not exist, www-data user needs to be able to create it.
|
||||
RUN chown www-data /srv/ledgersmb
|
||||
USER www-data
|
||||
|
||||
CMD ["start.sh"]
|
||||
|
Reference in New Issue
Block a user