Skip to content

Commit 24b688e

Browse files
authored
Merge pull request #391 from kaczmarj/enh/dockerfile
enh: use `node:8.9.4-alpine` base image
2 parents 78e409d + 9b6c6b1 commit 24b688e

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Dockerfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1-
FROM ubuntu:trusty
1+
FROM node:8.9.4-alpine
22

3-
## Install the validator
4-
RUN apt-get update && \
5-
apt-get install -y curl && \
6-
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
7-
apt-get remove -y curl && \
8-
apt-get install -y nodejs && \
9-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
10-
113
COPY . /src
124

135
RUN npm install -g /src
146

15-
ENTRYPOINT ["/usr/bin/bids-validator"]
7+
ENTRYPOINT ["/usr/local/bin/bids-validator"]

0 commit comments

Comments
 (0)