add custom caddy file
This commit is contained in:
parent
19c74194a2
commit
e483e91e46
@ -1,4 +1,4 @@
|
||||
:8088 {
|
||||
:8080 {
|
||||
root * /usr/share/caddy
|
||||
file_server
|
||||
encode gzip zstd
|
||||
|
@ -8,7 +8,8 @@ RUN npm install \
|
||||
|
||||
FROM caddy:2.4.6-alpine
|
||||
LABEL maintainer="marco.blessing@googlemail.com"
|
||||
COPY --from=builder /src/Caddyfile /etc/caddy/Caddyfile
|
||||
COPY --from=builder src/public /usr/share/caddy/
|
||||
HEALTHCHECK --interval=15s --timeout=3s \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1
|
||||
#RUN ls -la /usr/share/caddy/
|
||||
|
Loading…
Reference in New Issue
Block a user