hii, this is my personal site built with rocket and rust. it's dockerized for easy deployment.
-
clone the repo:
git clone https://github.com/jabuxas/refinement.git cd refinement
-
run the site:
cargo run
-
open your browser at http://127.0.0.1:8000
-
this setup maps container port 8000 to host port 8880.
-
build the image:
docker build -t refinement .
-
run the container:
docker run -p 8880:8000 refinement
-
or use docker-compose:
docker-compose up -d
-
open your browser at http://localhost:8880