Update static-web-server
This commit is contained in:
@@ -3,7 +3,7 @@ COPY . /project
|
|||||||
WORKDIR /project
|
WORKDIR /project
|
||||||
RUN ["zola", "build"]
|
RUN ["zola", "build"]
|
||||||
|
|
||||||
FROM ghcr.io/static-web-server/static-web-server:2.38.1-alpine
|
FROM ghcr.io/static-web-server/static-web-server:2.39.0-alpine
|
||||||
ENV SERVER_HEALTH=true
|
ENV SERVER_HEALTH=true
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN apk --no-cache add curl
|
RUN apk --no-cache add curl
|
||||||
@@ -13,4 +13,4 @@ HEALTHCHECK \
|
|||||||
--timeout=5s \
|
--timeout=5s \
|
||||||
--start-period=5s \
|
--start-period=5s \
|
||||||
--retries=3 \
|
--retries=3 \
|
||||||
CMD ["curl", "http://localhost/health"]
|
CMD ["curl", "-s", "localhost/health"]
|
||||||
|
|||||||
Reference in New Issue
Block a user