Automated building and deployment process with Docker #2

Merged
sangelo merged 20 commits from docker into main 2024-04-03 12:10:51 +00:00
Showing only changes of commit ef5bc8a670 - Show all commits

View file

@ -28,5 +28,8 @@ 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
LABEL description="Sangelo's Space website, packaged as a docker container, with the Caddy webserver."
# Remove intermediate images after build # Remove intermediate images after build
ONBUILD RUN rm -rf /app ONBUILD RUN rm -rf /app