Cesar Mendivil 0ca2b36b5c feat: Implement Studio Panel with Left Sidebar, Right Panel, and Video Area
- Added StudioLeftSidebar component for scene management with add, delete, and duplicate functionalities.
- Introduced StudioRightPanel component with tabs for brand settings, multimedia, sounds, video, QR code generation, countdown, and general settings.
- Created StudioSidebar component for participant management, chat, and notes.
- Developed StudioVideoArea component to handle video display for demo and live modes.
- Configured demo data for scenes, participants, overlays, backgrounds, and sounds in demo.ts.
- Set up a token server for LiveKit integration to manage participant access.
- Updated Vite environment definitions for LiveKit configuration.
2025-11-06 19:09:00 -07:00

32 lines
711 B
Docker

# Dockerfile para el servidor de tokens LiveKit
FROM node:20-alpine
# Instalar wget para healthcheck
RUN apk add --no-cache wget
# Establecer directorio de trabajo
WORKDIR /app
# Copiar package.json específico del servidor
COPY server-package.json package.json
# Instalar dependencias
RUN npm install --production
# Copiar el archivo del servidor
COPY server.js ./
# Exponer el puerto 3010
EXPOSE 3010
# Variables de entorno por defecto
ENV NODE_ENV=production
ENV PORT=3010
# Healthcheck
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
CMD wget --quiet --tries=1 --spider http://localhost:3010/health || exit 1
# Comando para iniciar el servidor
CMD ["node", "server.js"]