mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:05:10 +02:00
Aligining the Dockerfile with the version in friendica/docker repository
This commit is contained in:
parent
07d6500700
commit
f1301aec73
9 changed files with 157 additions and 29 deletions
|
@ -13,17 +13,15 @@ mkdir -p .vscode && cp .devcontainer/launch.json .vscode/launch.json
|
|||
|
||||
envsubst < $workspaceFolder/.devcontainer/include/my.cnf > /home/vscode/.my.cnf
|
||||
|
||||
#Make the workspace directory the docroot
|
||||
# Make the workspace directory the docroot
|
||||
echo ">>> Symlink $DocumentRoot to $workspaceFolder"
|
||||
sudo rm -rf $DocumentRoot
|
||||
sudo ln -fs $workspaceFolder $DocumentRoot
|
||||
|
||||
# Set proper permissions
|
||||
sudo chown -R $developmentUser:www-data $workspaceFolder
|
||||
sudo chmod -R g=u $workspaceFolder
|
||||
|
||||
echo 'error_reporting=0' | sudo tee /usr/local/etc/php/conf.d/no-warn.ini
|
||||
|
||||
# create log file
|
||||
mkdir -p log
|
||||
touch log/friendica.log
|
||||
chmod 666 log/friendica.log
|
||||
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue