Skip to content

Commit

Permalink
Deno CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Jul 18, 2023
1 parent c8ad1ac commit 60c7a09
Show file tree
Hide file tree
Showing 4 changed files with 1,607 additions and 31 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
FROM node:20.4.0-slim

RUN apt-get update \
&& apt-get install -y curl unzip wget gnupg \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
&& apt-get install -y git libxshmfence-dev google-chrome-stable --no-install-recommends \
&& curl -fsSL https://deno.land/x/install/install.sh | sh \
&& echo 'export DENO_INSTALL="/root/.deno"; export PATH="$DENO_INSTALL/bin:$PATH"' >> ~/.bashrc

WORKDIR /code/

ADD package.json package-lock.json /code/
Expand Down
Loading

0 comments on commit 60c7a09

Please sign in to comment.