12 lines
358 B
Bash
Executable file
12 lines
358 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
DIR="${0%/*}"
|
|
|
|
podman run -d --name=nextcloud --replace=true -p 8080:80 -v "$DIR:/var/www/html/custom_apps/upschooling" docker.io/nextcloud
|
|
podman exec nextcloud chown -R 33 /var/www/html/custom_apps
|
|
"$DIR/podman-reown.sh"
|
|
podman exec --user 33 nextcloud bash -c 'cd /var/www/html/custom_apps/upschooling && make'
|