13 lines
333 B
Docker
13 lines
333 B
Docker
FROM nginx:alpine
|
|
|
|
# Serve the landing as index.html
|
|
COPY landing_reformix.html /usr/share/nginx/html/index.html
|
|
|
|
# Custom nginx config: gzip, caching, security headers
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
EXPOSE 80
|
|
|
|
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|
|
CMD wget -q --spider http://localhost/ || exit 1
|