Skip to content

Commit 84be4a0

Browse files
authored
Merge pull request #24 from matteoclc/master
fix app/subnets/import-subnet/upload dir ownership
2 parents 8ef7c15 + 5f352e5 commit 84be4a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ RUN tar -xzf /tmp/v${PHPSAML_VERSION}.tar.gz -C ${WEB_REPO}/functions/php-saml/
5858
# Use system environment variables into config.php
5959
RUN cp ${WEB_REPO}/config.dist.php ${WEB_REPO}/config.php && \
6060
chown www-data /var/www/html/app/admin/import-export/upload && \
61+
chown www-data /var/www/html/app/subnets/import-subnet/upload && \
6162
sed -i -e "s/\['host'\] = 'localhost'/\['host'\] = getenv(\"MYSQL_ENV_MYSQL_HOST\") ?: \"mysql\"/" \
6263
-e "s/\['user'\] = 'phpipam'/\['user'\] = getenv(\"MYSQL_ENV_MYSQL_USER\") ?: \"root\"/" \
6364
-e "s/\['pass'\] = 'phpipamadmin'/\['pass'\] = getenv(\"MYSQL_ENV_MYSQL_PASSWORD\")/" \

0 commit comments

Comments
 (0)