diff --git a/pleroma/init-pleroma.sh b/pleroma/init-pleroma.sh index 7ca8b36..9b9f4c0 100644 --- a/pleroma/init-pleroma.sh +++ b/pleroma/init-pleroma.sh @@ -2,5 +2,7 @@ set -e env while ! pg_isready -U ${DB_USER} -d postgres://${DB_HOST}:${DB_PORT}/${DB_NAME} -t 1; do sleep 1s; done; + mkdir -p ${DATA}/uploads && mkdir -p ${DATA}/static && cp -rf /static-files/* ${DATA}/static && chown -R 1000:1000 ${DATA} -exec "${HOME}/bin/pleroma_ctl migrate" \ No newline at end of file + +${HOME}/bin/pleroma_ctl migrate \ No newline at end of file