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
Use frozen lockfile when installing dependencies with yarn
Hugo Müller-Downing17a40d15e397
diff --git a/Dockerfile b/Dockerfileindex 9f3070f3c..b9c3a0273 100644--- a/Dockerfile+++ b/Dockerfile@@ -8,13 +8,13 @@ WORKDIR /buildCOPY package.json yarn.lock /build/# Install only the production dependencies-RUN yarn install --production+RUN yarn install --frozen-lockfile# Cache these modules for productionRUN cp -R node_modules/ prod_node_modules/# Install development dependencies-RUN yarn install+RUN yarn install --frozen-lockfileCOPY . /buildRUN yarn build@@ -27,7 +27,7 @@ WORKDIR /appCOPY --from=build /build/prod_node_modules ./node_modules# Copy generated Prisma client-COPY --from=build /build/node_modules/\.prisma/ ./node_modules/\.prisma/+COPY --from=build /build/node_modules/.prisma/ ./node_modules/.prisma/COPY --from=build /build/yarn.lock /build/package.json ./COPY --from=build /build/.next ./.next