Dockerise Portfolio
Changes
- Tidied up core codebase
- Added new
env
module in the global data directory for consolidating the declaration of env variables - Added new
port
env var - Puppeteer's task of capturing the resume view into a PDF now made to run only during development (i.e. served locally)
- Added new
build:docker
script dedicated for building site in a container (currently meant for avoidingprebuild
script) - Set
NODE_ENV
duringstart
orbuild
scripts - Reassigned
md-to-pdf
andpuppeteer
as dev dependencies - Removed
json
files from watch list (tests indicate this may have been unnecessary) - Stopped using
.gitignore
as Eleventy's ignore list (.eleventyignore
should be used instead if needed) - Added docker image build script with support for multiple container runtimes
- Added alpine package dependencies
- Added image
Dockerfile
- Added
.dockerignore
list (for safety) - Added dumb mode support which skips the site building process in a containerised env through
SKIP_BUILD
env var