mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-25 21:00:53 +02:00
first commit
This commit is contained in:
commit
8fa384bcd6
5 changed files with 97 additions and 0 deletions
9
docker-entrypoint.sh
Executable file
9
docker-entrypoint.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if [ ! -e '/var/www/html/version.php' ]; then
|
||||
tar cf - --one-file-system -C /usr/src/nextcloud . | tar xf -
|
||||
chown -R www-data /var/www/html
|
||||
fi
|
||||
|
||||
exec "$@"
|
Loading…
Add table
Add a link
Reference in a new issue