mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-13 15:50:29 -04:00
Run as www-data user, with permission to write ledgersmb.conf file
This commit is contained in:
@@ -80,6 +80,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