fix(entrypoint): change dart-sass cli options
- oneshot: remove --update, re-compile of all files - watch: remove --stop-on-error - allow continuation after errors instead of container exit - display errors and allow for realtime correction
This commit is contained in:
+3
-3
@@ -54,9 +54,9 @@ ENV TZ=Etc/UTC
|
||||
ENV SASS_STYLE=compressed
|
||||
|
||||
# copy scripts and set permissions
|
||||
COPY [ "entrypoint.sh", "/usr/local/bin/entrypoint.sh" ]
|
||||
RUN chown root:root /usr/local/bin/entrypoint.sh \
|
||||
&& chmod 755 /usr/local/bin/entrypoint.sh
|
||||
COPY [ "entrypoint.sh", "/usr/local/bin/" ]
|
||||
RUN chown root:root /usr/local/bin/*.sh \
|
||||
&& chmod 755 /usr/local/bin/*.sh
|
||||
|
||||
# switch to user account and run sass compiler
|
||||
USER sass
|
||||
|
||||
Reference in New Issue
Block a user