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
switch to yarn to keep consistency
tim-hubb21225302b40
diff --git a/Dockerfile b/Dockerfileindex 871b8a875..566d1d4a3 100644--- a/Dockerfile+++ b/Dockerfile@@ -5,11 +5,13 @@ ARG DATABASE_TYPEENV DATABASE_URL "postgresql://umami:umami@db:5432/umami" \DATABASE_TYPE=$DATABASE_TYPE-COPY . /appWORKDIR /app+EXPOSE 3000-RUN npm install && npm run build+COPY package.json yarn.lock /app/+RUN yarn install --frozen-lockfile-EXPOSE 3000+COPY . /app+RUN yarn build-CMD ["npm", "start"]+CMD ["yarn", "start"]