1hanzla100 / developer-portfolio

Software Developer Portfolio Template built with react.js and next.js bootstrap that helps you showcase your work and skills as a software developer.
https://developer-portfolio-1hanzla100.vercel.app/
Apache License 2.0
692 stars 445 forks source link

Dockerized: minimal footprint #53

Closed abhirajshourya closed 10 months ago

abhirajshourya commented 10 months ago

Added Dockerfile with multi-stage build to create an optimized and minimal build for the next app. Quickly deploy to your home servers, nginx, or any of the cloud providers.

Commands to build and run the docker container:

  1. docker build -t <username>/<hub-repo>:<tag> .
  2. docker run --name <container-name> -d --publish 8080:3000 <username>/<hub-repo>:<tag>

Example:

  1. docker build -t johndoe/portfolio:prod .
  2. docker run --name portfolio -d --publish 8080:3000 johndoe/portfolio:prod
vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
developer-portfolio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 10, 2023 5:40am
abhirajshourya commented 10 months ago

Resolves #54

abhirajshourya commented 10 months ago

hi @1hanzla100 please review, thanks!

1hanzla100 commented 10 months ago

hi @1hanzla100 please review, thanks!

Okay I will review it