Skip to content

Docker deployment build error Reflex v0.8.27 #6145

@scapix

Description

@scapix

Describe the bug
Previously working docker deployed app (simple two ports) recently stopped building with error:
CPU lacks AVX support. Please consider upgrading to a newer CPU.
v0.8.26 and earlier versions work fine

  • Code/Link to Repo:
    failed to solve: process "/bin/sh -c reflex export --frontend-only --no-zip" did not complete successfully: exit code: 1

43.73 Creating Production Build failed with exit code -4
43.73 $ react-router build
43.73 ============================================================
43.73 Bun v1.3.6 (d530ed99) Linux x64 (baseline)
43.73 Linux Kernel v6.12.57 | glibc v2.41
43.73 CPU: sse42 popcnt
43.73 Args: "node" "/app/.web/node_modules/.bin/react-router" "build"
43.73 Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) bunfig jsc no_avx2 no_avx
43.73 tsconfig tsconfig_paths process_dlopen
43.74 Builtins: "bun:main" "node:assert" "node:buffer" "node:child_process"
43.74 "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http"
43.74 "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks"
43.74 "node:process" "node:querystring" "node:readline" "node:stream" "node:tls"
43.74 "node:tty" "node:url" "node:util" "node:vm" "node:zlib" "node:worker_threads"
43.74 "ws" "node:v8" "node:http2"
43.74 Elapsed: 1448ms | User: 1224ms | Sys: 227ms
43.74 RSS: 1.07GB | Peak: 0.16GB | Commit: 1.07GB | Faults: 305 | Machine: 7.96GB
43.74
43.74 CPU lacks AVX support. Please consider upgrading to a newer CPU.
43.74 panic(main thread): Illegal instruction at address 0x4001FB4
43.74 oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Expected behavior
Build should work :)

Specifics (please complete the following information):

  • Python Version: 3.13
  • Reflex Version: 0.8.27
  • OS: Debian Trixie, Linux Kernel v6.12.57

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions