disable astro telemetry
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user