Spaces:
Running
Running
Hermes Agent commited on
Commit ·
7bd87f2
1
Parent(s): 47c9771
Upgrade Node.js to v22.22.2 to satisfy OmniRoute minimum secure runtime requirement (v22.22.2+)
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -34,8 +34,8 @@ RUN mkdir -p /etc/apt/keyrings \
|
|
| 34 |
# Install aiohttp, pyrogram, tgcrypto, and Open WebUI
|
| 35 |
RUN pip3 install --no-cache-dir aiohttp pyrogram tgcrypto open-webui --break-system-packages || true
|
| 36 |
|
| 37 |
-
# Install Node.js 22 LTS (
|
| 38 |
-
RUN curl -fsSL https://nodejs.org/dist/v22.
|
| 39 |
| tar -xz -C /usr/local --strip-components=1
|
| 40 |
|
| 41 |
# Install OmniRoute globally, repair runtime binaries (better-sqlite3), and ensure Next.js cache dirs are writable
|
|
|
|
| 34 |
# Install aiohttp, pyrogram, tgcrypto, and Open WebUI
|
| 35 |
RUN pip3 install --no-cache-dir aiohttp pyrogram tgcrypto open-webui --break-system-packages || true
|
| 36 |
|
| 37 |
+
# Install Node.js 22.22.2 LTS (meets OmniRoute's minimum required runtime v22.22.2+)
|
| 38 |
+
RUN curl -fsSL https://nodejs.org/dist/v22.22.2/node-v22.22.2-linux-x64.tar.gz \
|
| 39 |
| tar -xz -C /usr/local --strip-components=1
|
| 40 |
|
| 41 |
# Install OmniRoute globally, repair runtime binaries (better-sqlite3), and ensure Next.js cache dirs are writable
|