12 lines
456 B
Docker
12 lines
456 B
Docker
FROM nginx:alpine
|
|
|
|
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
|
|
COPY nginx/security-headers.conf /etc/nginx/security-headers.conf
|
|
COPY --chmod=755 docker-entrypoint.d/40-basic-auth.sh /docker-entrypoint.d/
|
|
COPY html /usr/share/nginx/html
|
|
# every *.csv in data/ becomes selectable in the UI
|
|
COPY data /usr/share/nginx/html/data
|
|
|
|
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|
|
CMD wget -q -O /dev/null http://127.0.0.1/healthz || exit 1
|