mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-04 23:17:31 +02:00
add jamapi
This commit is contained in:
parent
ca3373036e
commit
a9919aa78b
@ -53,6 +53,7 @@ dockerfiles
|
|||||||
- [x] hydra
|
- [x] hydra
|
||||||
- [x] influxdb
|
- [x] influxdb
|
||||||
- [x] iptables
|
- [x] iptables
|
||||||
|
- [x] jamapi
|
||||||
- [x] jenkins
|
- [x] jenkins
|
||||||
- [x] jenkins-arm :beetle:
|
- [x] jenkins-arm :beetle:
|
||||||
- [x] joomla
|
- [x] joomla
|
||||||
|
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"]
|
8
jamapi/README.md
Normal file
8
jamapi/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
jamapi
|
||||||
|
======
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
[jamapi][1] parses web pages using CSS query selectors.
|
||||||
|
|
||||||
|
[1]: http://www.jamapi.xyz
|
5
jamapi/docker-compose.yml
Normal file
5
jamapi/docker-compose.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
jamapi:
|
||||||
|
image: vimagick/jamapi
|
||||||
|
ports:
|
||||||
|
- "5000:5000"
|
||||||
|
restart: always
|
Loading…
x
Reference in New Issue
Block a user