Commit Graph

31 Commits

Author SHA1 Message Date
Mike Cao
4bce72350b Include HOSTNAME variable. 2023-09-02 16:53:26 -07:00
Mike Cao
68ffa823f8 Fixed missing docker middleware. 2023-08-30 23:53:05 -07:00
Mike Cao
ac8d8bbd1e Added middleware for docker. 2023-04-19 08:49:16 -07:00
BE-CH
0ec20d42cf Removed platform issues 2023-03-12 21:03:14 +01:00
BE-CH
e31f882333 Prisma requires linux/amd64.... 2023-03-12 20:45:46 +01:00
BE-CH
c07a561eda Made the builder run as amd64 to avoid prisma arm problems 2023-03-12 19:53:49 +01:00
BE-CH
7df58a921f Added network timeout for yarn 2023-03-12 18:35:36 +01:00
Brian Cao
3d7b3aa588 Run migration on build 2022-08-23 10:49:45 -07:00
Mike Cao
d556806c64 Updated docker tracker update. 2022-08-09 13:36:24 -07:00
Mike Cao
6cfe910ba9 Added update-tracker script. Updated docker build. 2022-08-09 13:09:41 -07:00
Mike Cao
6541ba1ab4 Update docker build. 2022-06-27 10:34:03 -07:00
Mike Cao
c246b88329 Removed HASH_SALT requirement. 2022-06-22 11:02:40 -07:00
Mike Cao
ac3017b2e4 Added database check. 2022-06-22 01:50:33 -07:00
Mike Cao
5899a8d45c
Merge pull request #1203 from anbraten/apply-migrations
feat: run migrations on start
2022-06-14 17:23:31 -07:00
Mike Cao
6ff4ce2ad6 Updated docker file. 2022-06-14 11:32:21 -07:00
Anbraten
9ea175eb3f Run migrations on start 2022-06-12 08:38:58 +02:00
mike
327fa9925b Added missing args. 2022-06-11 02:27:42 -07:00
Thomas Mair
d35134c439 use outputStandalone to reduce docker image size 2022-05-24 14:43:19 +02:00
Mike Cao
7270d95240 Move environment variables to middleware. Closes #972. 2022-02-20 23:27:50 -08:00
Mike Cao
460762bf3d Use rewrites for tracker script name, closes #972 2022-02-18 20:00:21 -08:00
Mike Cao
cfa220c095 Updated node version. 2021-11-21 23:22:42 -08:00
Zhigang Fang
3d9951661c
chore(docker): add base_path to build args 2021-05-08 19:48:51 +08:00
tim-hub
61ae418573 disable telemetry of yarn and next by default 2020-09-24 21:23:59 +12:00
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
tim-hub
b21225302b switch to yarn to keep consistency
(cherry picked from commit 5fd19dcb6e167603fd4f5dffe88b1b153060f453)
2020-09-20 11:17:58 +12: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
Cobin Bluth
d1c7f2162b fix docker-compose 2020-08-22 12:00:35 +02:00
Mike Cao
d9f3c385fb New build scripts. 2020-08-21 02:22:07 -07:00
David Birks
d15d23539e
Add Dockerfile and docker-compose.yml 2020-08-19 00:25:05 -04:00