We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe1a276 commit d1d53d7Copy full SHA for d1d53d7
docker/Dockerfile
@@ -33,7 +33,11 @@ ENV PATH="$PATH:/home/cdkuser/.asdf/bin/:/home/cdkuser/node_modules/.bin"
33
RUN asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
34
# install some common node versions that are used in builds to speed things up
35
RUN asdf install nodejs 20.19.1; \
36
- asdf install nodejs 23.9.0; \
+ asdf install nodejs 23.9.0
37
+# update npm
38
+RUN export ASDF_DIR=/home/cdkuser/.asdf && \
39
+ . /home/cdkuser/.asdf/asdf.sh && \
40
+ asdf shell nodejs 20.19.1 && \
41
cd ~/.asdf/installs/nodejs/20.19.1/lib && npm update npm
42
43
# copy files needed for deployment
0 commit comments