CIA/e-voting-system/docker/Dockerfile.frontend
E-Voting Developer 5bebad45b8 Initial commit: Complete e-voting system with cryptography
- FastAPI backend with JWT authentication
- ElGamal, RSA-PSS, ZK-proofs crypto modules
- HTML5/JS frontend SPA
- MariaDB database with 5 tables
- Docker Compose with 3 services (frontend, backend, mariadb)
- Comprehensive tests for cryptography
- Typst technical report (30+ pages)
- Makefile with development commands
2025-11-03 16:13:08 +01:00

15 lines
238 B
Docker

FROM node:20-alpine
WORKDIR /app
# Copier les fichiers frontend
COPY src/frontend/ ./
# Exposer le port
EXPOSE 3000
# Serveur HTTP simple pour le frontend
RUN npm install -g http-server
CMD ["http-server", ".", "-p", "3000", "-c-1"]