mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-17 13:54:11 +00:00
EQMS-1414 Fix pod print issues (#7739)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
1fceb1822a
commit
b08af3d995
@ -1,5 +1,9 @@
|
|||||||
FROM hardcoreeng/base
|
FROM hardcoreeng/base
|
||||||
|
|
||||||
|
# Chromium hangs when usging LD_PRELOAD and MALLOC_CONF
|
||||||
|
ENV LD_PRELOAD=
|
||||||
|
ENV MALLOC_CONF=
|
||||||
|
|
||||||
# We don't need the standalone Chromium
|
# We don't need the standalone Chromium
|
||||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||||
# Set executable path for puppeteer
|
# Set executable path for puppeteer
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
|
|
||||||
{#await srcRef then src}
|
{#await srcRef then src}
|
||||||
{#if !isLoading}
|
{#if !isLoading}
|
||||||
{#if src === ''}
|
{#if src === '' || src === undefined}
|
||||||
<div class="centered">
|
<div class="centered">
|
||||||
<Label label={presentation.string.FailedToPreview} />
|
<Label label={presentation.string.FailedToPreview} />
|
||||||
</div>
|
</div>
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"svelte": "^4.2.19",
|
"svelte": "^4.2.19",
|
||||||
|
"@hcengineering/analytics": "^0.6.0",
|
||||||
"@hcengineering/platform": "^0.6.11",
|
"@hcengineering/platform": "^0.6.11",
|
||||||
"@hcengineering/core": "^0.6.32",
|
"@hcengineering/core": "^0.6.32",
|
||||||
"@hcengineering/presentation": "^0.6.3",
|
"@hcengineering/presentation": "^0.6.3",
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { Analytics } from '@hcengineering/analytics'
|
||||||
import { Doc, type Blob, type Ref } from '@hcengineering/core'
|
import { Doc, type Blob, type Ref } from '@hcengineering/core'
|
||||||
import presentation, { PDFViewer, createQuery, getClient } from '@hcengineering/presentation'
|
import presentation, { PDFViewer, createQuery, getClient } from '@hcengineering/presentation'
|
||||||
import guest, { PublicLink, createPublicLink } from '@hcengineering/guest'
|
import guest, { PublicLink, createPublicLink } from '@hcengineering/guest'
|
||||||
@ -55,6 +56,7 @@
|
|||||||
isLoading = false
|
isLoading = false
|
||||||
},
|
},
|
||||||
(err) => {
|
(err) => {
|
||||||
|
Analytics.handleError(err)
|
||||||
console.error(err)
|
console.error(err)
|
||||||
isLoading = false
|
isLoading = false
|
||||||
}
|
}
|
||||||
@ -65,6 +67,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
(err) => {
|
(err) => {
|
||||||
|
Analytics.handleError(err)
|
||||||
console.error(err)
|
console.error(err)
|
||||||
isLoading = false
|
isLoading = false
|
||||||
}
|
}
|
||||||
|
@ -3,4 +3,8 @@ FROM hardcoreeng/print-base:v20250113a
|
|||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY bundle/bundle.js ./
|
COPY bundle/bundle.js ./
|
||||||
|
|
||||||
|
# Chromium hangs when usging LD_PRELOAD and MALLOC_CONF
|
||||||
|
ENV LD_PRELOAD=
|
||||||
|
ENV MALLOC_CONF=
|
||||||
|
|
||||||
CMD [ "dumb-init", "node", "bundle.js" ]
|
CMD [ "dumb-init", "node", "bundle.js" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user