Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Run migration on build
Brian Cao3d7b3aa5886f
diff --git a/Dockerfile b/Dockerfileindex 48f3df322..eb7ebf1a5 100644--- a/Dockerfile+++ b/Dockerfile@@ -20,7 +20,7 @@ ENV BASE_PATH $BASE_PATHENV NEXT_TELEMETRY_DISABLED 1-RUN yarn build+RUN yarn build-docker# Production image, copy all the files and run nextFROM node:16-alpine AS runnerdiff --git a/package.json b/package.jsonindex 97d26c7bf..cbfe94daf 100644--- a/package.json+++ b/package.json@@ -11,8 +11,9 @@},"scripts": {"dev": "next dev",- "build": "npm-run-all build-tracker build-geo build-db build-app",- "start": "npm-run-all check-db start-next",+ "build": "npm-run-all build-db check-db build-tracker build-geo build-app",+ "start": "npm-run-all start-next",+ "build-docker": "npm-run-all build-db build-tracker build-geo build-app","start-docker": "npm-run-all check-db update-tracker start-server","start-env": "node scripts/start-env.js","start-server": "node server.js",