Jafner.net/5etools-docker/Dockerfile

13 lines
352 B
Docker
Raw Normal View History

FROM httpd
COPY init.sh /init.sh
2021-08-01 12:57:30 -07:00
COPY healthcheck.sh /healthcheck.sh
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y install curl p7zip-full && \
chmod +x /init.sh && \
chmod +x /healthcheck.sh
WORKDIR /usr/local/apache2/htdocs/
RUN mkdir download
ENV IMG false
2021-08-01 12:59:10 -07:00
HEALTHCHECK --start-period=1m CMD /healthcheck.sh
2021-08-01 12:57:30 -07:00
CMD ["/bin/bash","/init.sh"]