Fix for broken directory
Some checks are pending
CI master / consolidated-runner-benchmark (4, windows, dsh-windows-2025-4core, 2) (push) Waiting to run
CI master / wine apt cache (push) Waiting to run
CI master / serial / linux (self-hosted standby) (push) Waiting to run
CI master / serial / macos (push) Waiting to run
CI master / serial / windows (self-hosted standby) (push) Waiting to run
CI master / larger-runner-benchmark (16, linux, dsh-ubuntu-24-04-16core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (16, windows, dsh-windows-2025-16core, production-site) (push) Waiting to run
CI master / larger-runner-benchmark (32, linux, dsh-ubuntu-24-04-32core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (32, windows, dsh-windows-2025-32core, production-site) (push) Waiting to run
CI master / larger-runner-benchmark (4, linux, dsh-ubuntu-24-04-4core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (4, windows, dsh-windows-2025-4core, production-site) (push) Waiting to run
CI master / larger-runner-benchmark (64, linux, dsh-ubuntu-24-04-64core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (64, windows, dsh-windows-2025-64core, production-site) (push) Waiting to run
CI master / larger-runner-benchmark (8, linux, dsh-ubuntu-24-04-8core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (8, windows, dsh-windows-2025-8core, production-site) (push) Waiting to run
CI master / larger-runner-benchmark (96, linux, dsh-ubuntu-24-04-96core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (96, windows, dsh-windows-2025-96core, production-site) (push) Waiting to run
CI master / consolidated-runner-benchmark (16, linux, dsh-ubuntu-24-04-16core, 16) (push) Waiting to run
CI master / consolidated-runner-benchmark (16, windows, dsh-windows-2025-16core, 2) (push) Waiting to run
CI master / consolidated-runner-benchmark (32, linux, dsh-ubuntu-24-04-32core, 32) (push) Waiting to run
CI master / consolidated-runner-benchmark (32, windows, dsh-windows-2025-32core, 2) (push) Waiting to run
CI master / consolidated-runner-benchmark (4, linux, dsh-ubuntu-24-04-4core, 4) (push) Waiting to run
CI master / consolidated-runner-benchmark (64, linux, dsh-ubuntu-24-04-64core, 32) (push) Waiting to run
CI master / consolidated-runner-benchmark (64, windows, dsh-windows-2025-64core, 2) (push) Waiting to run
CI master / consolidated-runner-benchmark (8, linux, dsh-ubuntu-24-04-8core, 8) (push) Waiting to run
CI master / consolidated-runner-benchmark (8, windows, dsh-windows-2025-8core, 2) (push) Waiting to run
CI master / consolidated-runner-benchmark (96, linux, dsh-ubuntu-24-04-96core, 32) (push) Waiting to run
CI master / consolidated-runner-benchmark (96, windows, dsh-windows-2025-96core, 2) (push) Waiting to run
E2E (real DeepSeek API) / e2e (push) Waiting to run
Release (vendor) / Pack npm tarballs (push) Waiting to run
Release (dsh) / Dependency layout (push) Waiting to run
Release (dsh) / Pack npm tarballs (push) Waiting to run
Sandbox / sandbox e2e (landlock, ubuntu-24.04) (push) Waiting to run
Sandbox / sandbox e2e (seatbelt, macos-latest) (push) Waiting to run
Sandbox / sandbox e2e (landlock, ubuntu-24.04-arm) (push) Waiting to run
Sandbox / sandbox e2e (bwrap, ubuntu-latest) (push) Waiting to run
Some checks are pending
CI master / consolidated-runner-benchmark (4, windows, dsh-windows-2025-4core, 2) (push) Waiting to run
CI master / wine apt cache (push) Waiting to run
CI master / serial / linux (self-hosted standby) (push) Waiting to run
CI master / serial / macos (push) Waiting to run
CI master / serial / windows (self-hosted standby) (push) Waiting to run
CI master / larger-runner-benchmark (16, linux, dsh-ubuntu-24-04-16core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (16, windows, dsh-windows-2025-16core, production-site) (push) Waiting to run
CI master / larger-runner-benchmark (32, linux, dsh-ubuntu-24-04-32core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (32, windows, dsh-windows-2025-32core, production-site) (push) Waiting to run
CI master / larger-runner-benchmark (4, linux, dsh-ubuntu-24-04-4core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (4, windows, dsh-windows-2025-4core, production-site) (push) Waiting to run
CI master / larger-runner-benchmark (64, linux, dsh-ubuntu-24-04-64core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (64, windows, dsh-windows-2025-64core, production-site) (push) Waiting to run
CI master / larger-runner-benchmark (8, linux, dsh-ubuntu-24-04-8core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (8, windows, dsh-windows-2025-8core, production-site) (push) Waiting to run
CI master / larger-runner-benchmark (96, linux, dsh-ubuntu-24-04-96core, typecheck) (push) Waiting to run
CI master / larger-runner-benchmark (96, windows, dsh-windows-2025-96core, production-site) (push) Waiting to run
CI master / consolidated-runner-benchmark (16, linux, dsh-ubuntu-24-04-16core, 16) (push) Waiting to run
CI master / consolidated-runner-benchmark (16, windows, dsh-windows-2025-16core, 2) (push) Waiting to run
CI master / consolidated-runner-benchmark (32, linux, dsh-ubuntu-24-04-32core, 32) (push) Waiting to run
CI master / consolidated-runner-benchmark (32, windows, dsh-windows-2025-32core, 2) (push) Waiting to run
CI master / consolidated-runner-benchmark (4, linux, dsh-ubuntu-24-04-4core, 4) (push) Waiting to run
CI master / consolidated-runner-benchmark (64, linux, dsh-ubuntu-24-04-64core, 32) (push) Waiting to run
CI master / consolidated-runner-benchmark (64, windows, dsh-windows-2025-64core, 2) (push) Waiting to run
CI master / consolidated-runner-benchmark (8, linux, dsh-ubuntu-24-04-8core, 8) (push) Waiting to run
CI master / consolidated-runner-benchmark (8, windows, dsh-windows-2025-8core, 2) (push) Waiting to run
CI master / consolidated-runner-benchmark (96, linux, dsh-ubuntu-24-04-96core, 32) (push) Waiting to run
CI master / consolidated-runner-benchmark (96, windows, dsh-windows-2025-96core, 2) (push) Waiting to run
E2E (real DeepSeek API) / e2e (push) Waiting to run
Release (vendor) / Pack npm tarballs (push) Waiting to run
Release (dsh) / Dependency layout (push) Waiting to run
Release (dsh) / Pack npm tarballs (push) Waiting to run
Sandbox / sandbox e2e (landlock, ubuntu-24.04) (push) Waiting to run
Sandbox / sandbox e2e (seatbelt, macos-latest) (push) Waiting to run
Sandbox / sandbox e2e (landlock, ubuntu-24.04-arm) (push) Waiting to run
Sandbox / sandbox e2e (bwrap, ubuntu-latest) (push) Waiting to run
Fix for error: client api: directoryPicker/list failed: transport failure for /api/directoryPicker/list: HTTP 403
This commit is contained in:
parent
333af4c0ea
commit
c245952ae2
1 changed files with 19 additions and 5 deletions
24
Dockerfile
24
Dockerfile
|
|
@ -1,7 +1,7 @@
|
|||
FROM node:22-bookworm
|
||||
|
||||
# Install socat to forward traffic safely inside the container
|
||||
RUN apt-get update && apt-get install -y socat && rm -rf /var/lib/apt/lists/*
|
||||
# Install Nginx to perform HTTP header rewriting inside the container
|
||||
RUN apt-get update && apt-get install -y nginx-light && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
@ -13,8 +13,22 @@ COPY . .
|
|||
RUN pnpm install
|
||||
RUN pnpm run build
|
||||
|
||||
# Create a dedicated default directory for workspaces
|
||||
RUN mkdir -p /app/workspaces
|
||||
|
||||
# Configure Nginx to trick dsh web into thinking all requests originate from local loopback
|
||||
RUN echo 'server { \
|
||||
listen 3080; \
|
||||
location / { \
|
||||
proxy_pass http://127.0.0.1:3081; \
|
||||
proxy_set_header Host 127.0.0.1:3081; \
|
||||
proxy_http_version 1.1; \
|
||||
proxy_set_header Upgrade $http_upgrade; \
|
||||
proxy_set_header Connection "upgrade"; \
|
||||
} \
|
||||
}' > /etc/nginx/sites-available/default
|
||||
|
||||
EXPOSE 3080
|
||||
|
||||
# Forward Dokploy traffic (3080) to app loopback (3081)
|
||||
CMD socat TCP-LISTEN:3080,fork,reuseaddr TCP:127.0.0.1:3081 & \
|
||||
node --import tsx/esm apps/cli/src/bin.ts web --port 3081 --no-open
|
||||
# Start Nginx and launch DeepSeek Harness
|
||||
CMD nginx && node --import tsx/esm apps/cli/src/bin.ts web --port 3081 --no-open
|
||||
Loading…
Add table
Reference in a new issue