Skip to content

More features and improvements - added run.sh and improved Dockerfile

Compare
Choose a tag to compare
@Someguy123 Someguy123 released this 22 Mar 05:13
· 63 commits to master since this release
  • Improved Dockerfile

    • Docker's onbuild images are seemingly deprecated. Now manually running npm install and copying required files to the image.

    • Updated from NodeJS version 8.11.4-onbuild to 12.16.1-alpine3.11

    • config.json is now a volume inside the container, allowing it to be updated with a simple restart instead of rebuilding the container

  • Added publishonce feature, which causes the script to publish a feed update immediately, then exit.

  • Added repository to package.json to silence npm errors.

  • Created run.sh management script, which will make it much simpler to use the dockerized steemfeed-js. Large portion of the run.sh code is based on https://github.com/Someguy123/steem-docker run.sh

  • Easy install docker with ./run.sh install_docker

    • ./run.sh start intelligently builds the docker image if it doesn't already exist, then creates and runs the container with the appropriate docker run flags.

    • ./run.sh publish uses the publishonce steemfeed-js feature, combined with a docker container which is auto-removed after it finishes - no mess to cleanup :)

    • Various other features (see README.md and ./run.sh help)

  • Added a .dockerignore file, which ensures node_modules/, .env and config.json never get sent to Docker's context. Speeding up the build, and preventing active keys etc. being stored inside of an image.

  • Updated README with new run.sh instructions for managing dockerized steemfeed