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:
306
306
``` Dockerfile
307
307
# Dart stage
308
308
FROM dart:stable AS dart
309
- FROM buildbuf /buf AS buf
309
+ FROM bufbuild /buf AS buf
310
310
311
+ # Add your scss files
311
312
COPY --from=another_stage /app /app
312
313
314
+ # Include Protocol Buffer binary
315
+ COPY --from=buf /usr/local/bin/buf /usr/local/bin/
316
+
313
317
WORKDIR /dart-sass
314
318
RUN git clone https://github.com/sass/dart-sass.git . && \
315
319
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
318
323
```
319
324
320
325
## Why Dart?
You can’t perform that action at this time.
0 commit comments