Unlock base image, set additional node path
This commit is contained in:
parent
5082933f21
commit
809c7f7d5f
@ -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
|
RUN npm install -g postcss-cli@^6.1.3 autoprefixer@^9.7.0 cssnano@^4.1.10
|
||||||
|
|
||||||
ENV PATH="/root/.local/bin:$PATH"
|
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"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM nikolaik/python-nodejs@sha256:02b46170d1bf8f67a9ba14384fa3268d42baed1e9b807d605fc26fb7a979e0a5
|
FROM nikolaik/python-nodejs:python3.10-nodejs20
|
||||||
|
|
||||||
ENV PATH "/root/.local/bin:$PATH"
|
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 \
|
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 update \
|
||||||
|
Loading…
Reference in New Issue
Block a user