Run as www-data user, with permission to write ledgersmb.conf file.

Fixes #6.
This commit is contained in:
John Locke
2017-01-14 09:07:36 -08:00
parent 8f911b4d3e
commit 6d4d4fa927
2 changed files with 5 additions and 3 deletions

View File

@@ -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"]