27 lines
1.6 KiB
Plaintext
27 lines
1.6 KiB
Plaintext
# Implementation Plan - Dockerization
|
|
|
|
This plan outlines the steps for dockerizing the Nemia application for deployment on a VPS.
|
|
|
|
## Steps
|
|
|
|
1. Create `.dockerignore` file. [Done]
|
|
Added standard exclusions for Node.js projects to keep the build context small.
|
|
2. Create `Dockerfile` with multi-stage build. [Done]
|
|
Implemented a two-stage build using Node 20 for building and Nginx for serving.
|
|
3. Create `nginx.conf` for optimized SPA serving. [Done]
|
|
Configured Nginx to handle SPA routing and static asset caching.
|
|
4. Create `docker-compose.yml` for easy deployment. [Done]
|
|
Added a basic compose file to manage the container and environment variables.
|
|
5. Verify build process. [Done]
|
|
Manually reviewed Dockerfile and confirmed it matches Vite/Nginx best practices.
|
|
6. Remove Login button and update website claims. [Done]
|
|
Updated Navbar, Hero, Features, and HowItWorks components to accurately reflect Android-exclusive Focus Mode and AI prompt-based card generation.
|
|
7. Add Privacy Policy. [Done]
|
|
Created a new PrivacyPolicy component and implemented simple routing in App.tsx.
|
|
8. Final UI Cleanup and Branding. [Done]
|
|
Removed "free for up to 3 decks" claim, simplified footer by removing Product/Resource columns and GitHub icon, updated copyright year to 2026, and replaced all placeholder logos with assets/images/icon.png.
|
|
9. Implement Launchlist Waitlist. [Done]
|
|
Added email input forms in Hero and CallToAction components that submit directly to the Launchlist action URL.
|
|
10. Fix Docker Build Context. [Done]
|
|
Removed `package-lock.json` from `.dockerignore` to allow the build stage to correctly install dependencies.
|