1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-22 05:09:36 +02:00

add jamapi

This commit is contained in:
kev 2016-04-28 20:52:09 +08:00
parent ca3373036e
commit a9919aa78b
4 changed files with 33 additions and 0 deletions

View File

@ -53,6 +53,7 @@ dockerfiles
- [x] hydra
- [x] influxdb
- [x] iptables
- [x] jamapi
- [x] jenkins
- [x] jenkins-arm :beetle:
- [x] joomla

19
jamapi/Dockerfile Normal file
View 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"]

8
jamapi/README.md Normal file
View File

@ -0,0 +1,8 @@
jamapi
======
![](https://badge.imagelayers.io/vimagick/jamapi:latest.svg)
[jamapi][1] parses web pages using CSS query selectors.
[1]: http://www.jamapi.xyz

View File

@ -0,0 +1,5 @@
jamapi:
image: vimagick/jamapi
ports:
- "5000:5000"
restart: always