7 行
268 B
Docker
7 行
268 B
Docker
FROM nginx/nginx-unprivileged:1.30.7-alpine3.24
|
|
|
|
COPY lib.conf /etc/nginx/conf.d/default.conf
|
|
COPY sites/ /usr/share/nginx/html/
|
|
|
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O /dev/null http://127.0.0.1:8080/robots.txt || exit 1
|