Skip to content

armgit / umami

Public Imported from GitHub
0

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.

Install production dependencies with lockfile

Hugo Müller-Downing8fb2a8aa8402
diff --git a/Dockerfile b/Dockerfile
index b9c3a0273..c2110abca 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,7 @@ WORKDIR /build
COPY package.json yarn.lock /build/
# Install only the production dependencies
-RUN yarn install --frozen-lockfile
+RUN yarn install --production --frozen-lockfile
# Cache these modules for production
RUN cp -R node_modules/ prod_node_modules/