mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(.gitpod.yml): use lts node (#49382)
* fix: use lts node in gitpod * fix: use custom Dockerfile * fix: actually use the image...
This commit is contained in:
committed by
GitHub
parent
96a821a2ac
commit
3a1ad99f0b
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
FROM gitpod/workspace-mongodb:latest
|
||||
|
||||
# from https://www.gitpod.io/docs/introduction/languages/javascript#node-versions
|
||||
RUN bash -c 'VERSION="lts/*" \
|
||||
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
|
||||
&& nvm use $VERSION && nvm alias default $VERSION'
|
||||
|
||||
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
image: gitpod/workspace-mongodb
|
||||
image:
|
||||
file: .gitpod.Dockerfile
|
||||
ports:
|
||||
- port: 27017 # mongodb
|
||||
onOpen: ignore
|
||||
|
||||
Reference in New Issue
Block a user