From 9b6c6b10d89bdd2b2a902f915829c40a463effe0 Mon Sep 17 00:00:00 2001 From: Jakub Kaczmarzyk Date: Wed, 24 Jan 2018 10:16:26 -0500 Subject: [PATCH] enh: use `node:8.9.4-alpine` base image --- Dockerfile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1b24b4796..d2e406f39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,7 @@ -FROM ubuntu:trusty +FROM node:8.9.4-alpine -## Install the validator -RUN apt-get update && \ - apt-get install -y curl && \ - curl -sL https://deb.nodesource.com/setup_8.x | bash - && \ - apt-get remove -y curl && \ - apt-get install -y nodejs && \ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* - COPY . /src RUN npm install -g /src -ENTRYPOINT ["/usr/bin/bids-validator"] +ENTRYPOINT ["/usr/local/bin/bids-validator"]