feat: migrate voice app, add otel/rum, dockerfile, k8s deployment with ingress
Build and Publish / Metadata (push) Successful in 1s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 18s

This commit is contained in:
mats committed 2026-09-22 09:43:47 +02:00
1 parent a0d5a9a2c7
commit 5757156843
8170 files changed
+3144 -2086523

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
ARG APP_RELEASE=dev
FROM node:22-alpine AS app
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY server.js tracing.js ./
COPY public/ ./public/
# Inject build release into index.html if APP_RELEASE is specified
ARG APP_RELEASE
ENV APP_RELEASE=${APP_RELEASE}
RUN if [ -n "${APP_RELEASE}" ]; then \
sed -i "s/window.__APP_RELEASE__ || \"dev\"/\"${APP_RELEASE}\"/g" ./public/index.html; \
fi
ENV PORT=8080 \
HOST=0.0.0.0
EXPOSE 8080
USER node
CMD ["node", "server.js"]