VoteSecure: a React/Vite voting app, multi-stage build, served by hardened nginx (~96 MB).
80
A containerized build of the VoteSecure online voting web app (React, Vite, TypeScript, Supabase).
docker pull whoisphvl/votesecure:1.2
docker run -d --name votesecure -p 8080:80 whoisphvl/votesecure:1.2
Then open http://localhost:8080
dist files are copied into nginx:alpine. No Node, node_modules or build tools in the final image.server_tokens off, X-Content-Type-Options: nosniff, X-Frame-Options: DENY, and a React fallback so refreshing on a route like /vote serves the app instead of a 404..env, .git and node_modules are excluded with .dockerignore.1.2: hardened nginx config, VoteSecure page title.https://github.com/Phvl-0/Online-Election-System (branch docker-multistage)
Content type
Image
Digest
sha256:831dfa717…
Size
26.7 MB
Last updated
about 5 hours ago
docker pull whoisphvl/votesecure:1.3