Run Sass Command Line Tool Without Node.js

  • Don’t have to install extra software (like a whole node.js). Would like to accomplish this job only with Docker.
  • No need to setup a whole gulp tasks just to transpile Sass files.
  • Automatically transpile Sass files, and reload the browser while files change.
FROM node:lts-alpine
RUN mkdir /app
WORKDIR /app
RUN apk update && apk upgrade
#install Sass
RUN npm install -g sass
docker run -it --rm -v $(pwd):/app sass sass --watch ./:./

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CNCF Annual Survey 2021 — Highlights

Automating Facebook Events With Python and Selenium

Swift Programming Tutorial: Collection Types — Arrays, Set, and Dictionaries

Celebrating the success of Nu-World’s first airdrop! OG/WL Qualification Event!

How to get a file format icon for any file type in C# .NET Framework

Using WSL for Linux distros rather than VMware or any other virtualization if only some linux…

Timed Automata & Its Applications

Video Capturing Using Python And OpenCV

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Chun Ming Wang

Chun Ming Wang

More from Medium

Firebase Auth Using Vue.js

How to Create a Custom Code Block With Nuxt Content v2

How to deploy a Vue.js App on Patr

Load your SVG icons into your Nuxt Project easily