Tini is apparently included in docker now

This commit is contained in:
William Miceli
2019-03-28 18:13:43 -04:00
parent 8908a40402
commit 579b9998ee

View File

@@ -15,9 +15,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# php-json \
# php-mbstring
ADD https://github.com/krallin/tini/releases/download/v0.13.2/tini /usr/local/bin/tini
RUN chmod +x /usr/local/bin/tini
# Install grav
WORKDIR /var/www
RUN mkdir -p /var/www \
@@ -42,4 +39,10 @@ RUN usermod -aG www-data nginx
# Run startup script
ADD resources /
ENTRYPOINT [ "/usr/local/bin/tini", "--", "/usr/local/bin/startup.sh" ]
EXPOSE 80
STOPSIGNAL SIGTERM
ENTRYPOINT [ "--" ]
# Temporarily removed , "/usr/local/bin/startup.sh"
# CMD ["nginx", "-g", "daemon off;"]