- 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
15 lines
238 B
Docker
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"]
|