Sign inSign up

strangeranger/hthompson

By strangeranger

•Updated 6 days ago

A modern personal website serving as my digital hub and online presence.

Image
0

10K+

strangeranger/hthompson repository overview

⁠HThompson Docker Image

strangeranger/hthompson packages the production build of the HThompson website into a self‑contained Docker image. The website itself is a modern NextJS/MUI Material UI application that serves as a digital hub, featuring a responsive landing page, a live GitHub project tracker, a service hub linking to hosted projects and applications, and built-in analytics and security features.

⁠Available Tags

  • latest (amd64, arm64)

⁠How to Use

  1. Pull the image

    docker pull strangeranger/hthompson:latest
    
  2. Run the container

    The app listens on port 3000. To start it in detached mode, map the internal port and harden the container:

    docker run \
       --rm -d \
       -p 127.0.0.1:3000:3000 \
       --name hthompson \
       --read-only \
       --security-opt no-new-privileges:true \
       --cap-drop=ALL \
       strangeranger/hthompson:latest
    

⁠Deploy with Docker Compose

Create a docker-compose.yml file to manage the service:

services:
  hthompson:
    image: strangeranger/hthompson:latest
    container_name: hthompson
    restart: unless-stopped
    ports:
      - "127.0.0.1:3000:3000"
    read_only: true
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
  • Pull the latest version: docker compose pull
  • start the container: docker compose up
  • stop the container: docker compose down

⁠Notes

  • Read‑only runtime: The Dockerfile copies the build output and dependencies with --chmod=0555 and runs the app as the node user, reducing write access inside the container.
  • Deterministic installs: pnpm install is executed with --frozen-lockfile to ensure reproducible builds.

⁠Additional Information

⁠Who Should Use This Image?

Given that this image contains and deploys my personal website, it isn't intended for anyone other than myself.

Tag summary

Content type

Image

Digest

sha256:8a3e7fcf5…

Size

53 MB

Last updated

6 days ago

docker pull strangeranger/hthompson