mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-26 07:13:34 +01:00
add jamapi
This commit is contained in:
19
jamapi/Dockerfile
Normal file
19
jamapi/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user