astro/.gitpod.Dockerfile
Ofer Shaal 7088e86c64
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
2022-08-02 11:09:16 -05:00

8 lines
466 B
Docker

FROM gitpod/workspace-node
# Install latest 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
RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno