diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 8490c7ea..67b4be3e 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -12,3 +12,53 @@ Pull Requests will be accepted based on the following: 1. The company has a profile page and the company name links to it (see example [here](/company-profiles/example.md)) Thanks for contributing! + +# Docker +### For starting the Docker File + +``` +>remote-jobs $ sudo docker build remote -t remote-jobs +>remote-jobs $ sudo docker images ls +REPOSITORY TAG IMAGE ID CREATED SIZE +remote-job latest 971f9317008d 14 minutes ago 204MB +>remote-jobs $ sudo docker run -p 8080:8081 remote-job +> start +> bin/serve-site.js + +Parsing content +Requesting URL "https://blog.remoteintech.company/" +Requesting URL "https://s1.wp.com/_static/??-eJyNktFSAyEMRX9IiGvXVh8cvwXYDKYGliHQDn..." +Requesting URL "https://s1.wp.com/_static/??-eJyVUO1qwzAMfKFpImOk7Mfos7iqmjixLWPLlL..." +Requesting URL "https://s2.wp.com/wp-content/mu-plugins/global-print/global-print.c..." +Requesting URL "https://s0.wp.com/wp-content/themes/h4/global.css?m=1420737423h&css..." +Requesting URL "https://s0.wp.com/?custom-css=1&csblog=9eXnX&cscache=6&csrev=6" +Requesting URL "https://s0.wp.com/_static/??-eJx9jNsKwjAMhl/ILky0sAvxWUobZrYegkkpe3..." +Copying favicon files +Generating search index +Writing main page +Writing company pages.......................................................................... +Writing custom 404 page + +Writing empty robots.txt + +Site files are ready in "site/build/" +Starting up http-server, serving /node/site/build + +http-server version: 14.0.0 + +http-server settings: +CORS: disabled +Cache: 3600 seconds +Connection Timeout: 120 seconds +Directory Listings: visible +AutoIndex: visible +Serve GZIP Files: false +Serve Brotli Files: false +Default File Extension: none + +Available on: + http://127.0.0.1:8080 + http://172.17.0.2:8080 +Hit CTRL-C to stop the server + +``` diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..a499016e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM node:alpine + +RUN mkdir node + +COPY . ./node + +WORKDIR /node/ + +RUN npm install + +CMD npm start + + + diff --git a/README.md b/README.md index 6e3955d3..454ad1dc 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ A list of semi to fully remote-friendly companies in or around tech. Contributions are very welcome! Please [review our contributing guidelines](https://github.com/remoteintech/remote-jobs/tree/main/.github/CONTRIBUTING.md) and then submit a new entry or update. + ## Companies Name | Website | Region