From 1972e6c5cf9c4e0efb71befa2608d49f65b48001 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 29 Jul 2021 22:19:19 -0600 Subject: [PATCH] feature(entrypoint): add oneshot option --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index e8f8d1e..f530c27 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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