1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-02 09:21:34 +02:00
dockerfiles/jamapi/Dockerfile

20 lines
407 B
Docker
Raw Normal View History

2016-04-28 14:52:09 +02:00
#
# Dockerfile for jamapi
#
FROM alpine
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2016-04-28 14:52:09 +02:00
WORKDIR /app
RUN set -xe \
2017-07-10 11:02:16 +02:00
&& apk add -U ca-certificates curl nodejs nodejs-npm tar \
2016-04-28 14:52:09 +02:00
&& curl -sSL https://github.com/gavindinubilo/jam-api/archive/master.tar.gz | tar xz --strip 1 \
&& npm install --production \
&& apk del curl tar \
&& rm -rf /tmp/npm* /var/cache/apk/*
EXPOSE 5000
CMD ["node", "index"]