Restore JSX frontend with Login/Dashboard/Editor from 249d5fb, remove TS frontend, fix nginx port to 3001

This commit is contained in:
Agent Zero
2026-06-28 09:46:11 +02:00
parent 65c1f10499
commit b56c65815a
78 changed files with 1205 additions and 11510 deletions
+11 -5
View File
@@ -1,14 +1,20 @@
# Build stage
FROM node:22-alpine AS builder
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
# Production stage
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
RUN apk add --no-cache curl
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]