File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ WORKDIR /fredy
3535RUN apk add --no-cache chromium curl
3636
3737ENV NODE_ENV=production \
38+ IS_DOCKER=true \
3839 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
3940 PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
4041
Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ import { getSettings } from '../storage/settingsStorage.js';
1414const deviceId = getUniqueId ( ) || 'N/A' ;
1515const version = await getPackageVersion ( ) ;
1616const FREDY_TRACKING_URL = 'https://fredy.orange-coding.net/tracking' ;
17+ const isDocker = process . env . IS_DOCKER != null ;
1718
1819const staticTrackingData = {
1920 operatingSystem : os . platform ( ) ,
2021 osVersion : os . release ( ) ,
22+ isDocker,
2123 arch : process . arch ,
2224 language : process . env . LANG || 'en' ,
2325 nodeVersion : process . version || 'N/A' ,
You can’t perform that action at this time.
0 commit comments