[c] Fix docker container labels
All checks were successful
Build and push docker image / deploy (push) Successful in 41s

This commit is contained in:
Sangelo 2024-04-03 15:13:05 +02:00
parent fab7b8153b
commit 4325badbf9

View file

@ -28,8 +28,14 @@ EXPOSE 80
# Start Caddy with the specified Caddyfile # Start Caddy with the specified Caddyfile
CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"] CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"]
# Description for docker container # Docker Container Labels
LABEL description="Sangelo's Space website, packaged as a docker container, with the Caddy webserver." 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 # Remove intermediate images after build
ONBUILD RUN rm -rf /app ONBUILD RUN rm -rf /app