9 lines
396 B
Docker
9 lines
396 B
Docker
FROM docker.m.daocloud.io/nginx:1.28-alpine@sha256:a8b39bd9cf0f83869a2162827a0caf6137ddf759d50a171451b335cecc87d236
|
|
|
|
ARG VERSION
|
|
LABEL org.opencontainers.image.revision=$VERSION
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY dist/ /usr/share/nginx/html/
|
|
HEALTHCHECK --interval=15s --timeout=5s --start-period=10s --retries=3 \
|
|
CMD wget -q -O /dev/null http://127.0.0.1/healthz || exit 1
|