mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 10:07:46 -05:00
refactor(gitpod): update playwright, add mailhog and other ports (#56123)
This commit is contained in:
committed by
GitHub
parent
5c4fd56e60
commit
3ff2ef19bb
13
docker/gitpod/Dockerfile
Normal file
13
docker/gitpod/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM gitpod/workspace-mongodb:latest
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/freecodecamp/freecodecamp \
|
||||
org.opencontainers.image.description="A Gitpod image for the main freeCodeCamp repository" \
|
||||
org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
# 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 \
|
||||
&& echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix \
|
||||
&& pnpm dlx playwright@1.47.1 install --with-deps chromium'
|
||||
Reference in New Issue
Block a user