https://github.com/michalklempa/docker-dart-sass
sass/dart-sass docker image for web development purposes. Runs sass --watch on provided volumes.
https://github.com/michalklempa/docker-dart-sass
docker-image sass web
Last synced: 5 months ago
JSON representation
sass/dart-sass docker image for web development purposes. Runs sass --watch on provided volumes.
- Host: GitHub
- URL: https://github.com/michalklempa/docker-dart-sass
- Owner: michalklempa
- License: gpl-3.0
- Created: 2019-03-07T14:23:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-12-31T12:52:13.000Z (6 months ago)
- Last Synced: 2026-01-02T14:50:54.387Z (6 months ago)
- Topics: docker-image, sass, web
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/michalklempa/dart-sass
- Size: 98.6 KB
- Stars: 6
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
sass/dart-sass docker image for web development purposes. Runs sass --watch on provided volumes.
# How to use this image
To use this image in web development run this docker command:
```
docker run -v $PWD/sass:/sass/ -v $PWD/css:/css/ -it michalklempa/dart-sass:latest
```
Assuming we have ./sass folder with source files and ./css folder with desired generated CSS files.
Expected output:
```
Compiled sass/main.sass to css/main.css.
Sass is watching for changes. Press Ctrl-C to stop.
```
In our project main folder we can then run some other image to server our web. For example the https://hub.docker.com/r/jekyll/jekyll/.
# Building
This image is based on debian:buster-slim.
Command run by the image:
```
/opt/dart-sass/sass --watch /sass:/css
```