Skip to content

Commit

Permalink
node v19 -> v20
Browse files Browse the repository at this point in the history
  • Loading branch information
wdiestel committed Sep 10, 2023
1 parent 2ccc5bb commit 6283da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ FROM ubuntu:focal as builder
# vd: https://github.com/nodesource/distributions
# rxp, jre kaj saxonb ni bezonas nur por testoj (xml-test.sh)
RUN apt-get update && apt-get install -y curl xsltproc rxp default-jre libsaxonb-java \
&& curl -sL https://deb.nodesource.com/setup_19.x | bash -E - \
&& curl -sL https://deb.nodesource.com/setup_20.x | bash -E - \
&& apt-get install -y nodejs
WORKDIR /usr/app
COPY ./ /usr/app
COPY --from=metapost /build/ /usr/app/build/

# aldonu eble: npm audit fix, kelkfoje ni devas uzi -g npm@next - se ekzistas posta eldono
# mi ne scias npm sufiĉe bone por forumli aktualigan komandon, kiu fidinde ĉiam funkcias...
# mi ne scias npm sufiĉe bone por formuli aktualigan komandon, kiu fidinde ĉiam funkcias...
# oni eble povus kombini ambaŭ per aŭ: { npm install -g npm@latest || npm install -g npm@next }
RUN npm install -g npm@latest && npm ci && npm run build && tst/xml-test.sh

Expand Down

0 comments on commit 6283da7

Please sign in to comment.