10 lines
253 B
Docker
10 lines
253 B
Docker
FROM nginx:1.27-alpine
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY public/ /usr/share/nginx/html/
|
|
|
|
EXPOSE 80
|
|
|
|
HEALTHCHECK --interval=15s --timeout=3s --start-period=3s --retries=3 \
|
|
CMD wget -q -O /dev/null http://127.0.0.1/healthz || exit 1
|