Block a user
niklas-stephan.de (latest)
Published 2026-05-25 20:13:56 +02:00 by handtrixxx
Installation
docker pull git.handtrixxx.com/handtrixxx/niklas-stephan.de:latestsha256:c8b7c04da3c5ff2bf4ca3c1514b8d517a354017fe959a464315ec687da4ddc4a
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 0cf2b91ebb | linux/amd64 | 475 MiB |
Image Layers ( linux/amd64)
| # debian.sh --arch 'amd64' out/ 'trixie' '@1779062400' |
| RUN /bin/sh -c apt-get update && apt-get install -y ca-certificates nginx curl hugo nodejs npm && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c groupadd -r appuser && useradd -r -g appuser -u 1000 appuser # buildkit |
| RUN /bin/sh -c mkdir -p /home/appuser && mkdir -p /json && mkdir -p /log && mkdir -p /public && mkdir -p /content && mkdir -p /hugo && mkdir -p /scripts && chown -R appuser:appuser /hugo /scripts /content /public /json /log /home/appuser /var/log/nginx /var/lib/nginx /run # buildkit |
| COPY nginx/nginx.conf /etc/nginx/nginx.conf # buildkit |
| COPY nginx/skeleton.html /public/index.html # buildkit |
| COPY nginx/skeleton.html /public/404.html # buildkit |
| COPY README.md /content/readme/index.md # buildkit |
| COPY scripts /scripts # buildkit |
| COPY hugo /hugo # buildkit |
| RUN /bin/sh -c cd /scripts && npm install # buildkit |
| RUN /bin/sh -c chmod 777 /public/index.html && chmod 777 /public/404.html # buildkit |
| RUN /bin/sh -c chown -R appuser:appuser /scripts /json /public /log /hugo /home/appuser /var/log/nginx /var/lib/nginx /run # buildkit |
| EXPOSE [80/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL curl -sf http://localhost:80/ > /dev/null || exit 1] Interval:30s Timeout:10s StartPeriod:15s StartInterval:0s Retries:3} |
| USER appuser |
| ENV HOME=/home/appuser |
| WORKDIR /scripts |
| CMD ["node" "entrypoint.mjs"] |
| LABEL org.opencontainers.image.source=https://github.com/handtrixx/niklas-stephan.de |
Labels
| Key | Value |
|---|---|
| com.docker.compose.project | niklas-stephande |
| com.docker.compose.service | web |
| com.docker.compose.version | 5.1.4 |
| org.opencontainers.image.source | https://github.com/handtrixx/niklas-stephan.de |