Browse Source

Initial Dockerfile

pull/1/head
Nemo 3 years ago
parent
commit
1fe55b5b47
  1. 14
      COPYING
  2. 15
      Dockerfile
  3. 6
      README.md

14
COPYING

@ -0,0 +1,14 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2015 Abhay Rana <me@captnemo.in>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

15
Dockerfile

@ -0,0 +1,15 @@
FROM alekzonder/puppeteer:1
LABEL maintainer Nemo <docker@captnemo.in>
WORKDIR /app
COPY package.json package-lock.json /app/
RUN npm install
COPY index.js server.js /app/
ENTRYPOINT ["/usr/bin/node", "server"]
EXPOSE 3000

6
README.md

@ -43,3 +43,9 @@ You can pass the following environment variables:
1. `PROXY_SERVER`: Use a proxy server to connect to ACT. Use a `socks5` proxy, since ACT returns a 403 if you try to use a CONNECT proxy. `export PROXY_SERVER="socks5://10.8.0.14:1080"`
2. `CHROME_BIN`: Set Chrome/Chromium executable path.
3. `DISABLE_HEADLESS`: If set, chrome will not launch in headless mode.
# LICENSE
This is licensed under WTFPL. See COPYING file for the full text.
The canonical URL for this project is <https://git.captnemo.in/nemo/prometheus-act-exporter>.
Loading…
Cancel
Save