This is an image which contains an a Express.js API to connect to a Postgres DB, which has port 5000 released to run.
In addition, this image is linked to a GitHub Actions that updates the static content of the website which triggers on any change push or pull request events from the master branch. It also contains a gitHubb Actions workflow to build and push a docker image tho Docker Hub, updating the tags to maintain previous version of the image.
It has one main job, when a change is pushed to the master branch into the app directory, the action runs a job for login to Docker Hub, and push the image to a repository, with a function to rename tags automatically to maintain previuos images.
• Maintained by: Byron Murillo
• Where go to get help: https://github.com/vairome/k8s-app/issues
• Latest
The first step is pull the image from docker hub.
$ docker pull vairome/pern-server
The next step is run the image in an interactive mode, specifying to use port 5000
$ docker run -it -p 5000:5000 --name [name or your image] vairome/pern-server
To finish we only verify in http://localhost:5000/ to visualize the react application working.
docker pull vairome/pern-server:latest