blob: 89746d6d79d83c5198c839b04d67e9f94c089737 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
FROM nginx:alpine as adelie
COPY static/ /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/nginx.conf
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget --quiet --tries=1 --spider http://localhost/ || exit 1
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
|