mirror of
https://github.com/penpot/penpot.git
synced 2026-08-07 05:18:36 +00:00
🐛 Fix regression on mcp server listen port
This commit is contained in:
parent
5ae4b21046
commit
448d85febb
@ -5,6 +5,9 @@ EMSDK_QUIET=1 . /opt/emsdk/emsdk_env.sh;
|
|||||||
export PATH="/home/penpot/.cargo/bin:/opt/jdk/bin:/opt/utils/bin:/opt/clojure/bin:/opt/node/bin:/opt/imagick/bin:/opt/cargo/bin:$PATH"
|
export PATH="/home/penpot/.cargo/bin:/opt/jdk/bin:/opt/utils/bin:/opt/clojure/bin:/opt/node/bin:/opt/imagick/bin:/opt/cargo/bin:$PATH"
|
||||||
export CARGO_HOME="/home/penpot/.cargo"
|
export CARGO_HOME="/home/penpot/.cargo"
|
||||||
|
|
||||||
|
export PENPOT_MCP_PLUGIN_SERVER_HOST=0.0.0.0
|
||||||
|
export PENPOT_MCP_SERVER_HOST=0.0.0.0
|
||||||
|
|
||||||
alias l='ls --color -GFlh'
|
alias l='ls --color -GFlh'
|
||||||
alias ll='ls --color -GFlh'
|
alias ll='ls --color -GFlh'
|
||||||
alias rm='rm -rf'
|
alias rm='rm -rf'
|
||||||
|
|||||||
@ -5,7 +5,8 @@ ENV LANG=en_US.UTF-8 \
|
|||||||
LC_ALL=en_US.UTF-8 \
|
LC_ALL=en_US.UTF-8 \
|
||||||
NODE_VERSION=v22.21.1 \
|
NODE_VERSION=v22.21.1 \
|
||||||
DEBIAN_FRONTEND=noninteractive \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
PATH=/opt/node/bin:$PATH
|
PATH=/opt/node/bin:$PATH \
|
||||||
|
PENPOT_MCP_SERVER_HOST=0.0.0.0
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
useradd -U -M -u 1001 -s /bin/false -d /opt/penpot penpot; \
|
useradd -U -M -u 1001 -s /bin/false -d /opt/penpot penpot; \
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "cross-env PENPOT_MCP_PLUGIN_SERVER_HOST=0.0.0.0 vite build --watch --config vite.config.ts",
|
"start": "vite build --watch --config vite.config.ts",
|
||||||
"start:multi-user": "pnpm run start",
|
"start:multi-user": "pnpm run start",
|
||||||
"build": "tsc && vite build --config vite.release.config.ts",
|
"build": "tsc && vite build --config vite.release.config.ts",
|
||||||
"types:check": "tsc --noEmit",
|
"types:check": "tsc --noEmit",
|
||||||
|
|||||||
@ -38,6 +38,7 @@
|
|||||||
"zod": "^4.3.6"
|
"zod": "^4.3.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"cross-env": "^7.0.3",
|
||||||
"@penpot/mcp-common": "workspace:../common",
|
"@penpot/mcp-common": "workspace:../common",
|
||||||
"@types/express": "^4.17.0",
|
"@types/express": "^4.17.0",
|
||||||
"@types/js-yaml": "^4.0.9",
|
"@types/js-yaml": "^4.0.9",
|
||||||
|
|||||||
3
mcp/pnpm-lock.yaml
generated
3
mcp/pnpm-lock.yaml
generated
@ -97,6 +97,9 @@ importers:
|
|||||||
'@types/ws':
|
'@types/ws':
|
||||||
specifier: ^8.5.10
|
specifier: ^8.5.10
|
||||||
version: 8.18.1
|
version: 8.18.1
|
||||||
|
cross-env:
|
||||||
|
specifier: ^7.0.3
|
||||||
|
version: 7.0.3
|
||||||
esbuild:
|
esbuild:
|
||||||
specifier: ^0.25.0
|
specifier: ^0.25.0
|
||||||
version: 0.25.12
|
version: 0.25.12
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user