1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00:00
dockerfiles/jamapi/Dockerfile
2016-04-28 20:52:09 +08:00

20 lines
399 B
Docker

#
# Dockerfile for jamapi
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
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"]