File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ A [Dart][dart] implementation of [Sass][sass]. **Sass makes CSS fun again**.
3535 * [ From Pub] ( #from-pub )
3636 * [ ` sass_api ` Package] ( #sass_api-package )
3737 * [ From Source] ( #from-source )
38+ * [ In Docker] ( #in-docker )
3839* [ Why Dart?] ( #why-dart )
3940* [ Compatibility Policy] ( #compatibility-policy )
4041 * [ Browser Compatibility] ( #browser-compatibility )
@@ -184,6 +185,23 @@ Assuming you've already checked out this repository:
184185
185186That's it!
186187
188+ ### In Docker
189+
190+ You can install and run Dart Sass within Docker using the following Dockerfile
191+ commands:
192+
193+ ``` Dockerfile
194+ # Dart stage
195+ FROM dart:stable AS dart
196+
197+ COPY --from=another_stage /app /app
198+
199+ WORKDIR /dart-sass
200+ RUN git clone https://github.com/sass/dart-sass.git . && \
201+ dart pub get && \
202+ dart ./bin/sass.dart /app/sass/example.scss /app/public/css/example.css
203+ ```
204+
187205## Why Dart?
188206
189207Dart Sass has replaced Ruby Sass as the canonical implementation of the Sass
You can’t perform that action at this time.
0 commit comments