Skip to content

Commit

Permalink
Merge pull request #391 from kaczmarj/enh/dockerfile
Browse files Browse the repository at this point in the history
enh: use `node:8.9.4-alpine` base image
  • Loading branch information
chrisgorgo authored Jan 24, 2018
2 parents 78e409d + 9b6c6b1 commit 24b688e
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 24b688e

Please sign in to comment.