feature(entrypoint): add oneshot option

This commit is contained in:
Asif Bacchus 2021-07-29 22:19:19 -06:00
parent 19bcd59794
commit 1972e6c5cf
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@
if [ "$1" = "shell" ]; then
exec /bin/bash
elif [ "$1" = "oneshot" ]; then
exec /opt/dart-sass/sass -s "$SASS_STYLE" --update --stop-on-error /sass:/css
elif [ -n "$1" ]; then
exec "$@"
else