redaction / ui /Dockerfile
gni
Initial commit: Privacy Gateway with Multi-language PII detection (EN/FR) and Docker support
0e45313
raw
history blame contribute delete
430 Bytes
# WEB Dockerfile
# Development Stage
FROM node:25-slim AS dev
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5173
CMD ["npm", "run", "dev", "--", "--host"]
# Production Stage
FROM node:25-slim AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:stable-alpine AS prod
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]