Skip to content

Commit df681b0

Browse files
committed
Upgrade npm 14->20
1 parent f4f3e2f commit df681b0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

publishing/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ FROM --platform=linux/amd64 python:3.8.16-slim
33
# Must run from base TWIR directory... makefile takes care of this.
44
WORKDIR /usr/twir
55

6-
RUN apt-get update
7-
RUN apt-get install -y curl build-essential
6+
RUN apt-get update && apt-get install -y curl build-essential
87

98
# pelican+friends
109
ENV LANG='en_US.UTF-8'
@@ -16,10 +15,9 @@ RUN curl https://files.stork-search.net/releases/v1.5.0/stork-ubuntu-20-04 -o st
1615
&& mv ./stork /usr/bin/stork
1716

1817
# sass/juice
19-
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
18+
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
2019
RUN apt-get install -y nodejs
21-
RUN npm install -g sass
22-
RUN npm install -g juice
20+
RUN npm install -g sass juice
2321

2422
# pelican setup
2523
COPY content content

0 commit comments

Comments
 (0)