drop need to write config file to /srv/ledgersmb

Instead write it to /tmp.
Also don't copy the entire example file, just write the bits we need
This commit is contained in:
sbts
2017-07-02 00:52:36 +08:00
parent 4905f2a469
commit 8f3875acb0
2 changed files with 15 additions and 11 deletions

View File

@@ -86,8 +86,5 @@ RUN mkdir -p /tmp && \
# Internal Port Expose
EXPOSE 5762
# 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"]