Gitpod - fix pnpm version error (#4120)
* use Gitpod's node-LTS base image * update gitpod command waiting for port * export variables for pnpm * install pnpm using recommended method * fix prebuild's shell problem * fix Gitpod ports await command syntax
This commit is contained in:
parent
ba801b99e5
commit
7088e86c64
2 changed files with 2 additions and 2 deletions
2
.gitpod.Dockerfile
vendored
2
.gitpod.Dockerfile
vendored
|
@ -1,7 +1,7 @@
|
|||
FROM gitpod/workspace-node
|
||||
|
||||
# Install latest pnpm
|
||||
RUN pnpm i -g pnpm
|
||||
RUN curl -fsSL https://get.pnpm.io/install.sh | SHELL=`which bash` bash -
|
||||
|
||||
# Install deno in gitpod
|
||||
RUN curl -fsSL https://deno.land/x/install/install.sh | sh
|
||||
|
|
|
@ -15,7 +15,7 @@ else
|
|||
fi
|
||||
|
||||
# Wait for VSCode to be ready (port 23000)
|
||||
gp await-port 23000 > /dev/null 2>&1
|
||||
gp ports await 23000 > /dev/null 2>&1
|
||||
|
||||
echo "Loading example project:" $EXAMPLE_PROJECT
|
||||
|
||||
|
|
Loading…
Reference in a new issue