configure caddy and disable build cache
This commit is contained in:
parent
63016c1dd8
commit
4a4446177b
3 changed files with 10 additions and 2 deletions
|
|
@ -62,5 +62,3 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ vars.CONTAINER_REGISTRY }}/servala/documentation:latest
|
tags: ${{ vars.CONTAINER_REGISTRY }}/servala/documentation:latest
|
||||||
cache-from: type=gha
|
|
||||||
cache-to: type=gha,mode=max
|
|
||||||
|
|
|
||||||
9
Caddyfile
Normal file
9
Caddyfile
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
:80 {
|
||||||
|
root * /usr/share/caddy
|
||||||
|
file_server
|
||||||
|
|
||||||
|
log {
|
||||||
|
output stdout
|
||||||
|
format console
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
FROM docker.io/caddy:latest
|
FROM docker.io/caddy:latest
|
||||||
|
|
||||||
COPY site/ /usr/share/caddy/
|
COPY site/ /usr/share/caddy/
|
||||||
|
COPY Caddyfile /etc/caddy/Caddyfile
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue