Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Use upstream node image #35

Merged
merged 1 commit into from
Feb 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down