prepare initial release #2

Merged
OCram85 merged 11 commits from node into master 2022-01-04 09:27:51 +01:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit e483e91e46 - Show all commits

View File

@ -1,4 +1,4 @@
:8088 { :8080 {
root * /usr/share/caddy root * /usr/share/caddy
file_server file_server
encode gzip zstd encode gzip zstd

View File

@ -8,7 +8,8 @@ RUN npm install \
FROM caddy:2.4.6-alpine FROM caddy:2.4.6-alpine
LABEL maintainer="marco.blessing@googlemail.com" LABEL maintainer="marco.blessing@googlemail.com"
COPY --from=builder /src/Caddyfile /etc/caddy/Caddyfile
COPY --from=builder src/public /usr/share/caddy/ COPY --from=builder src/public /usr/share/caddy/
HEALTHCHECK --interval=15s --timeout=3s \ 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/ #RUN ls -la /usr/share/caddy/