Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use node docker image
  • Loading branch information
Kristian Freeman committed Oct 11, 2019
1 parent 3dc1bdd commit d788022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,3 +1,3 @@
FROM ubuntu:latest
FROM node:10.14.1-alpine
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
8 changes: 3 additions & 5 deletions entrypoint.sh
@@ -1,9 +1,7 @@
#!/bin/sh -l
#!/bin/sh

set -e

apt-get update -y
apt-get install curl -y
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | sh
nvm install latest
npm i
npm i @cloudflare/wrangler -g
wrangler whoami
Expand Down

0 comments on commit d788022

Please sign in to comment.