novaconium/sass/Dockerfile

13 lines
255 B
Docker

# Use an official Node.js image as a base
FROM node:16-slim
# Install Sass globally
RUN npm install -g sass \
&& npm cache clean --force
# Set working directory inside container
WORKDIR /usr/src/app
# Set entrypoint to Sass CLI
ENTRYPOINT ["sass"]