code-server cannot handle being served under a subpath with Traefik StripPrefix. Added nginx as reverse proxy that listens on 8080 and proxies to code-server on 8081. This preserves all URLs and asset paths correctly. - nginx listens on 0.0.0.0:8080 (external) - code-server listens on 127.0.0.1:8081 (internal) - Entrypoint starts nginx + socat + code-server This fixes 404 errors on workbench.css and asset loading. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Dockerfile | ||