📈 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
test env vars
Alper Alkanc83054d96bc2
diff --git a/Dockerfile b/Dockerfileindex 127e73d3c..1dbc7fa97 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,10 +1,10 @@# Stage 1FROM node:lts-alpine as build-ENV TZ=Etc/UTC-ENV REACT_APP_API_URL="https://example.com/api/"-ENV CHOKIDAR_USEPOLLING=true-ENV REACT_APP_SELFHOSTED=true-ENV GENERATE_SOURCEMAP=false+ENV TZ=Etc/UTC \+ REACT_APP_API_URL="https://example.com/api/" \+ CHOKIDAR_USEPOLLING=true \+ REACT_APP_SELFHOSTED=true \+ GENERATE_SOURCEMAP=falseRUN apk add --no-cache tzdata && cp /usr/share/zoneinfo/$TZ /etc/localtimeWORKDIR /appCOPY . .@@ -12,7 +12,11 @@ RUN npm install -g pnpm && pnpm install && npm run build# Stage 2FROM nginx:stable-alpine-ENV TZ=Etc/UTC+ENV TZ=Etc/UTC \+ REACT_APP_API_URL="https://example.com/api/" \+ CHOKIDAR_USEPOLLING=true \+ REACT_APP_SELFHOSTED=true \+ GENERATE_SOURCEMAP=falseRUN rm -rf /usr/share/nginx/html/*RUN apk add --no-cache tzdata && cp /usr/share/zoneinfo/$TZ /etc/localtimeCOPY --from=build /app/deployment/default.conf /etc/nginx/conf.d/default.conf