- ws.ts: auth via query params (token + session), store session_id from assay session_info, mark connected on ready signal - useAgentSocket.ts: handlers for session_info, controls, artifacts, cleared - auth.ts: auto-set dev service token for instant login - Dockerfile + nginx.conf for K3s deployment - .env.production: wss://assay.loop42.de/ws Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
245 B
Docker
12 lines
245 B
Docker
FROM node:22-alpine AS build
|
|
WORKDIR /app
|
|
COPY package.json package-lock.json ./
|
|
RUN npm ci
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
EXPOSE 80
|