Restore docker files and gateway URL fix

This commit is contained in:
Erwin
2026-03-27 21:52:01 +00:00
parent 1acf1c4ff5
commit 3609e1f2fc
4 changed files with 65 additions and 1 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
# Build stage
FROM node:20-alpine AS builder
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
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]