chore: fix dockerfile
ci-web / test (push) Successful in 14m18s

This commit is contained in:
Nuxgrid
2026-07-31 15:00:24 +02:00
parent dce80908e3
commit c08a1db888
3 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
# --- Build (Vite) ---
FROM node:22-alpine AS build
WORKDIR /app
COPY ../../web/package.json ../../web/package-lock.json ./
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
# Même origine : l'API est proxifiée par nginx (cf. nginx.conf), donc URL relative.
+1
View File
@@ -67,6 +67,7 @@ export interface Demo {
status: DemoStatus
namespace: string
url: string
type_abonnement?: string
created_at: string
expires_at: string
}
+9 -1
View File
@@ -215,6 +215,7 @@ export function Demos() {
<Thead>
<Tr>
<Th>Namespace</Th>
<Th>Client</Th>
<Th>Statut</Th>
<Th>URL</Th>
<Th>Expire dans</Th>
@@ -244,6 +245,13 @@ export function Demos() {
<Text>{d.namespace}</Text>
</HStack>
</Td>
<Td>
{d.username ? (
<Text>{d.username}</Text>
) : (
<Text color="gray.400"></Text>
)}
</Td>
<Td>
<Badge colorScheme={statusColor(d.status)}>{statusLabel(d.status)}</Badge>
</Td>
@@ -291,7 +299,7 @@ export function Demos() {
</Td>
</Tr>
<Tr>
<Td p={0} border={isOpen ? undefined : 'none'} colSpan={5}>
<Td p={0} border={isOpen ? undefined : 'none'} colSpan={6}>
<Collapse in={isOpen} unmountOnExit animateOpacity>
<Box p={4} bg="chakra-subtle-bg" borderTopWidth="1px">
{detailsLoading && !details ? (