disable astro telemetry

This commit is contained in:
Clemens Hering
2025-11-10 07:39:14 +01:00
parent 27237bd8c6
commit 3c3d4eda48

View File

@@ -1,6 +1,5 @@
# Multi-stage build for Astro static site # Multi-stage build for Astro static site
FROM node:22-alpine AS builder FROM node:22-alpine AS builder
ENV ASTRO_TELEMETRY_DISABLED=1
WORKDIR /app WORKDIR /app
# Install deps # Install deps
@@ -18,6 +17,7 @@ ENV NODE_ENV=production
ENV PORT=3000 ENV PORT=3000
ENV WEB_ROOT=/app/dist ENV WEB_ROOT=/app/dist
ENV TZ=Europe/Berlin ENV TZ=Europe/Berlin
ENV ASTRO_TELEMETRY_DISABLED=1
COPY --from=builder /app/dist /app/dist COPY --from=builder /app/dist /app/dist
COPY server.mjs /app/server.mjs COPY server.mjs /app/server.mjs
# Drop root: use the pre-created node user # Drop root: use the pre-created node user