Jafner.net/5etools-docker/Dockerfile
Jafner db196fbb3b Remove healthcheck
The feature was poorly implemented, and offered little value
2021-09-24 12:07:35 -07:00

15 lines
398 B
Docker

FROM httpd
ENV PUID=${PUID:-1000}
ENV PGID=${PGID:-1000}
COPY init.sh /init.sh
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
RUN chown -R $PUID:$PGID /usr/local/apache2/htdocs
ENV IMG false
CMD ["/bin/bash","/init.sh"]