From e7ecf3a4fa671e82a4949be8b7b8031a9d782915 Mon Sep 17 00:00:00 2001 From: J0WI Date: Wed, 23 Jan 2019 19:14:11 +0100 Subject: [PATCH] Use upstream node image --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 631f782..8648d3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,8 @@ -FROM alpine:latest +FROM node:alpine MAINTAINER https://github.com/mozilla/observatory-cli RUN adduser -h /home/observatory -g "Observatory CLI User" -s /bin/ash -D observatory -RUN apk --update add nodejs && \ - rm -rf /var/cache/apk/* && \ - npm install -g observatory-cli +RUN npm install -g observatory-cli USER observatory WORKDIR /home/observatory