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