Docker : suppression de la télémtrie Astro
This commit is contained in:
parent
0a5b4dfc9b
commit
2e5934c5fd
2 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
FROM node:lts-alpine AS build
|
FROM node:lts-alpine AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
ARG ASTRO_TELEMETRY_DISABLE
|
||||||
|
ENV ASTRO_TELEMETRY_DISABLE $ASTRO_TELEMETRY_DISABLE
|
||||||
RUN npm install --production && \
|
RUN npm install --production && \
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@ services:
|
||||||
image: ahurac-homepage:latest
|
image: ahurac-homepage:latest
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
args:
|
||||||
|
- ASTRO_TELEMETRY_DISABLED=1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "${AHURAC_PORT}:80"
|
- "${AHURAC_PORT}:80"
|
||||||
|
|
Loading…
Reference in a new issue