saiblog/_docker/Dockerfile
saibotk cdeeab365f
Remove HSTS headers & ssl_session_cache & use nginx:alpine
The HSTS headers are already set by Traefik and the ssl session cache does not make sense for a HTTP only container, with a proxy that handles TLS.

Also the docker image will now use the latest alpine image instead of the old fixed version.
2020-06-29 00:17:45 +02:00

7 lines
No EOL
173 B
Docker

FROM nginx:alpine
COPY ./public/ /usr/share/nginx/html/
COPY ./_docker/default.conf /etc/nginx/conf.d/
HEALTHCHECK CMD wget -O- http://127.0.0.1/status.txt | grep -q 'OK'