Skip to content

Commit

Permalink
Upgrade website node to LTS (apache#30213)
Browse files Browse the repository at this point in the history
* Upgrade website node to LTS

* Remove npm installation

* Latest npm
  • Loading branch information
damccorm authored Feb 5, 2024
1 parent a47b1fa commit 7f91baa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,16 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Install node environment
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
# Install node LTS environment
RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash - \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
nodejs \
npm \
&& apt-get autoremove -yqq --purge \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN npm update -g npm

RUN npm install postcss postcss-cli autoprefixer

Expand Down

0 comments on commit 7f91baa

Please sign in to comment.