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**.
35
35
* [ From Pub] ( #from-pub )
36
36
* [ ` sass_api ` Package] ( #sass_api-package )
37
37
* [ From Source] ( #from-source )
38
+ * [ In Docker] ( #in-docker )
38
39
* [ Why Dart?] ( #why-dart )
39
40
* [ Compatibility Policy] ( #compatibility-policy )
40
41
* [ Browser Compatibility] ( #browser-compatibility )
@@ -184,6 +185,23 @@ Assuming you've already checked out this repository:
184
185
185
186
That's it!
186
187
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
+
187
205
## Why Dart?
188
206
189
207
Dart Sass has replaced Ruby Sass as the canonical implementation of the Sass
You can’t perform that action at this time.
0 commit comments