Commit Graph
7 Commits
Author SHA1 Message Date
Hugo Müller-Downing 8fb2a8aa84 Install production dependencies with lockfile 2020-09-24 13:12:38 +10:00
Hugo Müller-Downing 17a40d15e3 Use frozen lockfile when installing dependencies with yarn 2020-09-23 21:13:09 +10:00
Hugo Müller-Downing 34d82166e4 Trim Docker image size
* Only copy production node dependencies into image
* Use multi-stage build to make use of node dependency cache
* Use non-root user
2020-09-22 22:30:37 +10:00
Hugo Müller-Downing 7dd5d97279 Use GitHub Container Registry for Docker images
GHCR allows images to be pulled anonymously
2020-09-06 15:48:46 +10:00
Hugo Müller-Downing 26639dbeb1 Build Docker image only on release 2020-09-02 21:48:04 +10:00
Hugo Müller-Downing a9b1d73d83 Add GitHub workflow to push Docker image 2020-08-23 18:26:01 +10:00
Hugo Müller-Downing 73ea516a7a Add DATABASE_TYPE environment variable
Determines which Prisma schema to use
2020-08-23 10:46:33 +10:00