added curl to conatiner
This commit is contained in:
parent
906d462eee
commit
8a6625b117
|
|
@ -7,7 +7,7 @@ services:
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway" # Zugriff auf die VM via SSH
|
- "host.docker.internal:host-gateway" # Zugriff auf die VM via SSH
|
||||||
command: >-
|
command: >-
|
||||||
sh -c "apk add --no-cache openssh-client bash &&
|
sh -c "apk add --no-cache openssh-client bash curl &&
|
||||||
npm install -g @anthropic-ai/claude-code claude-max-api-proxy &&
|
npm install -g @anthropic-ai/claude-code claude-max-api-proxy &&
|
||||||
DIST=$(find /usr/local/lib -path '*/claude-max-api-proxy/dist' -type d | head -1) &&
|
DIST=$(find /usr/local/lib -path '*/claude-max-api-proxy/dist' -type d | head -1) &&
|
||||||
sed -i 's/startServer({ port })/startServer({ port, host: process.env.HOST || \"127.0.0.1\" })/' $$DIST/server/standalone.js &&
|
sed -i 's/startServer({ port })/startServer({ port, host: process.env.HOST || \"127.0.0.1\" })/' $$DIST/server/standalone.js &&
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue