Added missing chown for www-data (#24)

This is causing problems when a user runs the installer.
This commit is contained in:
BitcoinMitchell 2021-01-19 03:56:31 +01:00 committed by GitHub
parent b7604592dd
commit 329b41c2c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,4 +16,7 @@ RUN apt-get update \
# Add the BTCPay module to the preinstalled list after default 'Welcome' module
RUN sed -i "/'welcome',/a 'btcpay'," "$PS_ROOT/$PS_INSTALL_FILE"
# Ensure www-data can write to $PS_ROOT
RUN chown -R www-data:www-data $PS_ROOT
VOLUME ["/var/www/html"]