add reading history to /about
This commit is contained in:
8
data/css_compress/Dockerfile
Normal file
8
data/css_compress/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM node:22-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
python3 default-jre-headless \
|
||||
&& npm install -g sass \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /project
|
||||
@@ -77,8 +77,8 @@ print()
|
||||
print()
|
||||
|
||||
print('======== CALL SCSS ========')
|
||||
print('> scss --style=expanded --no-cache --update "' + fsource + ':' + finput + '"')
|
||||
out = subprocess.run([shutil.which('scss'), '--style=expanded', '--no-cache', '--update', fsource + ':' + finput], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
print('> sass --style=expanded --no-source-map "' + fsource + ':' + finput + '"')
|
||||
out = subprocess.run([shutil.which('sass'), '--style=expanded', '--no-source-map', fsource + ':' + finput], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
print('STDOUT:')
|
||||
print(out.stdout.decode('utf-8'))
|
||||
print('STDERR:')
|
||||
|
||||
Reference in New Issue
Block a user