step: Working MQTT websocket connection, docker deploy script

This commit is contained in:
Jakob Gegeniger committed 2026-06-27 14:17:00 +02:00
1 parent 9900d48622
commit e1a32ecd01
6 files changed
+877 -36

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# Build stage
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Serve stage
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]