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 2d4bb886f8
commit d0384889a8
2 changed files with 15 additions and 11 deletions

View File

@@ -81,8 +81,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"]