Added sass linting.

This commit is contained in:
Greenscreener
2019-07-19 12:34:39 +02:00
parent 69c9a96d25
commit e6f64ef997
3 changed files with 30 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM node:12-alpine
RUN mkdir /src
RUN npm install npm@5.3 && \
rm -rf /usr/local/lib/node_modules/npm && \
mv /node_modules/npm /usr/local/lib/node_modules
RUN npm install -g sass-lint
# Cleanup
RUN rm -fr /root/.npm /node_modules
WORKDIR /src
ENTRYPOINT ["/usr/local/bin/sass-lint"]