Unlock base image, set additional node path #19

Merged
m90 merged 1 commits from fix-node-path into main 2024-01-16 21:00:19 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -3,4 +3,4 @@ FROM nikolaik/python-nodejs:python3.10-nodejs20
RUN npm install -g postcss-cli@^6.1.3 autoprefixer@^9.7.0 cssnano@^4.1.10
ENV PATH="/root/.local/bin:$PATH"
ENV NODE_PATH="/usr/lib/node_modules"
ENV NODE_PATH "/usr/lib/node_modules:/usr/local/lib/node_modules"

View File

@ -1,7 +1,7 @@
FROM nikolaik/python-nodejs@sha256:02b46170d1bf8f67a9ba14384fa3268d42baed1e9b807d605fc26fb7a979e0a5
FROM nikolaik/python-nodejs:python3.10-nodejs20
ENV PATH "/root/.local/bin:$PATH"
ENV NODE_PATH "/usr/lib/node_modules"
ENV NODE_PATH "/usr/lib/node_modules:/usr/local/lib/node_modules"
RUN npm install -g postcss-cli@^6.1.3 autoprefixer@^9.7.0 svgo@^1.3.0 cssnano@^4.1.10 \
&& apt-get update \