mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-30 09:16:41 +02:00
20 lines
397 B
Docker
20 lines
397 B
Docker
#
|
|
# Dockerfile for jamapi
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER kev <noreply@easypi.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"]
|