0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.gitpod.Dockerfile
Okiki Ojo 6ca2128aee
Fix/deno gitpod (#3213)
* chore(.gitignore): remove pnpm error logs from git

* ci: install deno in gitpod
tests won't run in gitpod without deno
2022-05-03 10:56:16 -04:00

8 lines
411 B
Docker

FROM gitpod/workspace-node
# Install latest pnpm
RUN pnpm i -g pnpm
# 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