Skip to content

Commit

Permalink
Load config file from persistent storage if present
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-arthur committed Jul 19, 2024
1 parent ae07810 commit 551dea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ RUN set -xe \
&& NODE_OPTIONS=--openssl-legacy-provider npm run build \
# Create directories
&& mkdir -p /var/www/files /run/apache2 \
&& cp config.TEMPLATE.inc.php config.inc.php \
&& if test -f /home/config.inc.php; then cp /home/config.inc.php config.inc.php; else cp config.TEMPLATE.inc.php config.inc.php; fi\
&& chown -R apache:apache /var/www/* \
# Prepare freefont for captcha
&& ln -s /usr/share/fonts/TTF/FreeSerif.ttf /usr/share/fonts/FreeSerif.ttf \
Expand Down

0 comments on commit 551dea4

Please sign in to comment.