Full-stack web application for C2PA content credentials management. - Backend: Fastify + TypeScript + Drizzle ORM + @contentauth/c2pa-node - Frontend: React 19 + Vite + Tailwind CSS 4 + Montserrat/Gold theme - Auth: JWT with 3 roles (viewer, stamper, admin) - C2PA: Sign files with X.509 certs, verify manifests, custom OMG metadata - Admin: Manage users, platforms (OMG, Pencil), 29 AI models - Docker: PostgreSQL 16, Node.js 22 backend, nginx frontend - Ports: Frontend 3050, Backend 8050, PostgreSQL 5470 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
284 B
Docker
13 lines
284 B
Docker
FROM node:22-slim AS builder
|
|
WORKDIR /app
|
|
ARG VITE_API_URL
|
|
ENV VITE_API_URL=${VITE_API_URL}
|
|
COPY package.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
EXPOSE 80
|