feature(entrypoint): add oneshot option

This commit is contained in:
Asif Bacchus 2021-07-29 22:19:19 -06:00
parent 19bcd59794
commit 1972e6c5cf

View File

@ -6,6 +6,8 @@
if [ "$1" = "shell" ]; then if [ "$1" = "shell" ]; then
exec /bin/bash 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 elif [ -n "$1" ]; then
exec "$@" exec "$@"
else else