Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3243695
D3849.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
617 B
Referenced Files
None
Subscribers
None
D3849.diff
View Options
diff --git a/keyserver/Dockerfile b/keyserver/Dockerfile
--- a/keyserver/Dockerfile
+++ b/keyserver/Dockerfile
@@ -15,6 +15,11 @@
&& rm -rf /var/lib/apt/lists/*
RUN update-alternatives --install /usr/bin/python python /usr/bin/python2 2
+# We use nvm to make sure we're running the right Node version
+ENV NVM_DIR /root/.nvm
+RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh \
+ | bash
+
#-------------------------------------------------------------------------------
# STEP 1: YARN CLEANINSTALL
# We run yarn cleaninstall before copying most of the files in for build caching
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 9:04 AM (18 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2493898
Default Alt Text
D3849.diff (617 B)
Attached To
Mode
D3849: [keyserver] Add nvm to Dockerfile
Attached
Detach File
Event Timeline
Log In to Comment