Browse Source

Merge pull request #322 from C4illin/fix/qtwebengine-no-sandbox

Emrik Östling 1 month ago
parent
commit
d4e8eaadd7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -75,5 +75,7 @@ COPY --from=prerelease /app/public/generated.css /app/public/
 COPY . .
 
 EXPOSE 3000/tcp
+# used for calibre
+ENV QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox"
 ENV NODE_ENV=production
 ENTRYPOINT [ "bun", "run", "./src/index.tsx" ]