1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:27 +02:00
dockerfiles/jamapi/Dockerfile

20 lines
397 B
Docker
Raw Normal View History

2016-04-28 14:52:09 +02:00
#
# Dockerfile for jamapi
#
FROM alpine
2016-05-01 03:06:20 +02:00
MAINTAINER kev <noreply@easypi.info>
2016-04-28 14:52:09 +02:00
WORKDIR /app
RUN set -xe \
&& apk add -U ca-certificates curl nodejs tar \
&& 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"]