Files
BookStack/dev/docker/entrypoint.node.sh

13 lines
300 B
Bash
Raw Normal View History

2019-06-23 13:16:45 +02:00
#!/bin/sh
# Git 2.35+ may refuse to operate on bind-mounted repos with differing ownership ("dubious ownership").
# Mark /app as safe within the container.
git config --global --add safe.directory /app 2>/dev/null || true
2019-06-23 13:16:45 +02:00
set -e
npm install
npm rebuild node-sass
SHELL=/bin/sh exec npm run watch