Skip to content

Commit

Permalink
Enhancement (ASP): Generate new stateless config file on entrypoint i…
Browse files Browse the repository at this point in the history
…n docker
  • Loading branch information
leojonathanoh committed Jan 28, 2024
1 parent 5612e47 commit f6fec0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/ASP/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ setup() {
echo "Setting permissions on backup volume"
setup /src/ASP/system/database/backups 1

echo "Setting up config file"
CONFIG_FILE=/src/ASP/system/config/config.php
if [ -f "$CONFIG_FILE" ]; then
echo "Removing existing config file"
fi
echo "Setting up config file"
php /src/ASP/index.php > /dev/null
ls -al $CONFIG_FILE

Expand Down

0 comments on commit f6fec0d

Please sign in to comment.