-
Clone the repository
git clone git@github.com:budgetbuddyde/expressjs-template.git
-
Install requried dependencies
npm install
-
Setup environment-variables as defined in the
.env.example
-
Start your application
npm run dev # or run the finished build npm run start
Note
You may need to sign into the Github Image Registry by using echo <GH_PAT> | docker login ghcr.io -u <GH_USERNAME> --password-stdin
-
Pull the image
docker pull ghcr.io/budgetbuddyde/latest
-
Start an container
# will expose the server on port 80 on your local machine docker run -p 80:8080 --env-file .env ghcr.io/budgetbuddyde/expressjs-template