mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 08:18:08 +00:00
fix(realtime): replace axios with native HTTP client
Remove axios from the realtime server dependencies to avoid header injection risk, switch Docker builds to npm ci, and bump the realtime image version to 1.0.15.
This commit is contained in:
1 parent
9a280d1143
commit
c8185c8336
11 files changed
+72
-612
No files matched your search
@@ -12,8 +12,8 @@ ARG CLOUDFLARED_VERSION
|
||||
WORKDIR /terminal
|
||||
RUN apk upgrade --no-cache && \
|
||||
apk add --no-cache openssh-client make g++ python3 curl
|
||||
COPY docker/coolify-realtime/package.json ./
|
||||
RUN npm i
|
||||
COPY docker/coolify-realtime/package*.json ./
|
||||
RUN npm ci
|
||||
RUN npm rebuild node-pty --update-binary
|
||||
COPY docker/coolify-realtime/soketi-entrypoint.sh /soketi-entrypoint.sh
|
||||
COPY docker/coolify-realtime/terminal-server.js /terminal/terminal-server.js
|
||||
|
||||
Reference in new issue
Block a user