mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 10:05:18 +00:00
fix: serve inspector assets under /ui/ path
This commit is contained in:
parent
6d6f6d0272
commit
eee56bada5
1 changed files with 2 additions and 2 deletions
|
|
@ -23,12 +23,12 @@ COPY frontend/packages/inspector ./frontend/packages/inspector
|
|||
RUN cd frontend/packages/inspector && pnpm exec vite build
|
||||
|
||||
FROM caddy:alpine
|
||||
COPY --from=build /app/frontend/packages/inspector/dist /srv
|
||||
COPY --from=build /app/frontend/packages/inspector/dist /srv/ui
|
||||
RUN cat > /etc/caddy/Caddyfile <<'EOF'
|
||||
:80 {
|
||||
root * /srv
|
||||
file_server
|
||||
try_files {path} /index.html
|
||||
try_files {path} /ui/index.html
|
||||
}
|
||||
EOF
|
||||
EXPOSE 80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue