[c] Fix docker container labels
All checks were successful
Build and push docker image / deploy (push) Successful in 41s
All checks were successful
Build and push docker image / deploy (push) Successful in 41s
This commit is contained in:
parent
fab7b8153b
commit
4325badbf9
1 changed files with 8 additions and 2 deletions
10
Dockerfile
10
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
|
||||
|
|
Loading…
Reference in a new issue