mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
7088e86c64
* 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
8 lines
466 B
Docker
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
|