mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 09:57:00 +01:00
disable telemetry of yarn and next by default
This commit is contained in:
parent
050f4cda8b
commit
61ae418573
@ -5,6 +5,7 @@ ENV DATABASE_URL "postgresql://umami:umami@db:5432/umami" \
|
|||||||
DATABASE_TYPE=$DATABASE_TYPE
|
DATABASE_TYPE=$DATABASE_TYPE
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
|
RUN yarn config set --home enableTelemetry 0
|
||||||
COPY package.json yarn.lock /build/
|
COPY package.json yarn.lock /build/
|
||||||
|
|
||||||
# Install only the production dependencies
|
# Install only the production dependencies
|
||||||
@ -17,6 +18,7 @@ RUN cp -R node_modules/ prod_node_modules/
|
|||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install --frozen-lockfile
|
||||||
|
|
||||||
COPY . /build
|
COPY . /build
|
||||||
|
RUN yarn next telemetry disable
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
# Production image
|
# Production image
|
||||||
|
Loading…
Reference in New Issue
Block a user