📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Update dependencies, drop Yarn
Blue Mousea243feff5b02
diff --git a/web/Dockerfile.fly b/web/Dockerfile.flyindex e1c05f476..de8333ba2 100644--- a/web/Dockerfile.fly+++ b/web/Dockerfile.fly@@ -1,8 +1,5 @@# base node image-FROM node:20-bullseye-slim as base--# Install openssl for Prisma-RUN apt-get update && apt-get install -y openssl+FROM node:22-alpine as base# Install all node_modules, including dev dependenciesFROM base as deps@@ -11,8 +8,7 @@ RUN mkdir /appWORKDIR /appADD package.json ./-# RUN npm install --production=false-RUN yarn install --production=false+RUN npm install --production=false# Setup production node_modulesFROM base as production-deps@@ -22,8 +18,7 @@ WORKDIR /appCOPY --from=deps /app/node_modules /app/node_modulesADD package.json ./-# The prune command isn't necessary when using Yarn-# RUN npm prune --production+RUN npm prune --production# Build the appFROM base as build@@ -35,10 +30,6 @@ WORKDIR /appCOPY --from=deps /app/node_modules /app/node_modules-# If we're using Prisma, uncomment to cache the prisma schema-# ADD prisma .-# RUN npx prisma generate-ADD . .RUN npm run build@@ -52,9 +43,6 @@ WORKDIR /appCOPY --from=production-deps /app/node_modules /app/node_modules-# Uncomment if using Prisma-# COPY --from=build /app/node_modules/.prisma /app/node_modules/.prisma-COPY --from=build /app/build /app/buildCOPY --from=build /app/public /app/publicADD . .