File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -306,15 +306,20 @@ commands:
306306``` Dockerfile
307307# Dart stage
308308FROM dart:stable AS dart
309- FROM buildbuf /buf AS buf
309+ FROM bufbuild /buf AS buf
310310
311+ # Add your scss files
311312COPY --from=another_stage /app /app
312313
314+ # Include Protocol Buffer binary
315+ COPY --from=buf /usr/local/bin/buf /usr/local/bin/
316+
313317WORKDIR /dart-sass
314318RUN git clone https://github.com/sass/dart-sass.git . && \
315319 dart pub get && \
316- dart run grinder protobuf && \
317- dart ./bin/sass.dart /app/sass/example.scss /app/public/css/example.css
320+ dart run grinder protobuf
321+ # This is where you run sass.dart on your scss file(s)
322+ RUN dart ./bin/sass.dart /app/sass/example.scss /app/public/css/example.css
318323```
319324
320325## Why Dart?
You can’t perform that action at this time.
0 commit comments