From 4325badbf98cd94f380fd7b266bfdf70cb3a7c60 Mon Sep 17 00:00:00 2001 From: Sangelo Date: Wed, 3 Apr 2024 15:13:05 +0200 Subject: [PATCH] [c] Fix docker container labels --- Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 68fe4b9..6f44bd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,8 +28,14 @@ EXPOSE 80 # Start Caddy with the specified Caddyfile CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"] -# Description for docker container -LABEL description="Sangelo's Space website, packaged as a docker container, with the Caddy webserver." +# Docker Container Labels +LABEL org.opencontainers.image.title="Sangelo's Space" +LABEL org.opencontainers.image.description="Sangelo's Space website, packaged as a docker container, with the Caddy webserver." +LABEL org.opencontainers.image.url="https://sangelo.space" +LABEL org.opencontainers.image.documentation="https://gitpot.dev/sangelo/website" +LABEL org.opencontainers.image.vendor="Sangelo" +LABEL org.opencontainers.image.licenses="GPL-v3" +LABEL org.opencontainers.image.source="https://gitpot.dev/sangelo/website" # Remove intermediate images after build ONBUILD RUN rm -rf /app