Skip to content

Commit 68b7d13

Browse files
committed
fix: install newer nodejs version
1 parent 9bd5e95 commit 68b7d13

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ WORKDIR /app
33

44
USER root
55
RUN apt-get update \
6-
&& apt-get install -y --no-install-recommends nodejs npm \
6+
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg \
7+
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
8+
&& apt-get install -y --no-install-recommends nodejs \
79
&& rm -rf /var/lib/apt/lists/*
810
USER foundry
911

0 commit comments

Comments
 (0)