Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 368 Bytes
FROM alpine:3.9
RUN apk upgrade --no-cache
RUN apk add --no-cache nginx curl
RUN mkdir -p /var/log/nginx \
&& chown -R nginx:nginx /var/log/nginx \
&& mkdir -p /run/nginx && \
chown -R nginx:nginx /run/nginx
COPY rootfs /
HEALTHCHECK --interval=5s --timeout=5s --start-period=120s CMD curl --fail http://localhost/ || exit 1
CMD ["/"]
You can’t perform that action at this time.