Skip to content

Instantly share code, notes, and snippets.

View mattseabrook's full-sized avatar

Matt Seabrook mattseabrook

View GitHub Profile
@mattseabrook
mattseabrook / boilerplate.sh
Last active October 12, 2022 00:22
Bash/Shell boilerplate I created to manage any Linux-based project in a Git Repo that has a corresponding Dockerfile. Command-line interface, with a couple variables exposed
#!/bin/bash
: '
// boilerplate.sh
v.0.1 - 2022-10-11 - Matt Seabrook
See README.md or CTRL + F "Main Entrypoint" in this file
'
APP_PORT=4000 # Port to run the app on
DOCKER_IMAGE="my_app_img" # Name of the docker image
DOCKER_CONTAINER="my_app" # Name of the docker container