mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
feat(gitpod): use custom prebuilt image (#56074)
This commit is contained in:
committed by
GitHub
parent
23888d618a
commit
be88a86e6e
9
.gitpod.Dockerfile
vendored
9
.gitpod.Dockerfile
vendored
@@ -1,9 +0,0 @@
|
||||
FROM gitpod/workspace-mongodb:latest
|
||||
|
||||
# from https://www.gitpod.io/docs/introduction/languages/javascript#node-versions
|
||||
RUN bash -c 'VERSION="20" \
|
||||
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
|
||||
&& nvm use $VERSION && nvm alias default $VERSION \
|
||||
&& npm i -g pnpm@9'
|
||||
|
||||
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
|
||||
@@ -1,5 +1,4 @@
|
||||
image:
|
||||
file: .gitpod.Dockerfile
|
||||
image: ghcr.io/freecodecamp/gitpod-fcc:latest
|
||||
ports:
|
||||
- port: 27017 # mongodb
|
||||
onOpen: ignore
|
||||
|
||||
Reference in New Issue
Block a user