Lock base image to version used locally
All checks were successful
Build / build (push) Successful in 2m15s

This commit is contained in:
Frederik Ring 2024-01-14 22:00:56 +01:00
parent 8e26edd64f
commit 28ebdb9490

View File

@ -1,9 +1,9 @@
FROM nikolaik/python-nodejs:python3.10-nodejs20
FROM nikolaik/python-nodejs@sha256:02b46170d1bf8f67a9ba14384fa3268d42baed1e9b807d605fc26fb7a979e0a5
ENV PATH "/root/.local/bin:$PATH"
ENV NODE_PATH "/usr/lib/node_modules"
RUN npm i -g npm@9.8.0 && npm install -g postcss-cli@^6.1.3 autoprefixer@^9.7.0 svgo@^1.3.0 cssnano@^4.1.10 \
RUN npm install -g postcss-cli@^6.1.3 autoprefixer@^9.7.0 svgo@^1.3.0 cssnano@^4.1.10 \
&& apt-get update \
&& apt-get install -y libjpeg-progs optipng \
&& rm -rf /var/lib/apt/lists/*