20 lines
510 B
Docker
20 lines
510 B
Docker
FROM nextcloud
|
|
|
|
# install necessary packages
|
|
RUN apt-get update && apt-get install -y ocrmypdf supervisor
|
|
|
|
# create supervisord dir
|
|
RUN mkdir /var/log/supervisord /var/run/supervisord
|
|
COPY supervisord.conf /
|
|
|
|
# copy in memory size increase php ini file
|
|
# we name it zzz because nextcloud.ini was overriding
|
|
COPY zzz-memory-limit.ini /usr/local/etc/php/conf.d/
|
|
|
|
# remove memory limit from nextcloud.ini that overrides that
|
|
# todo
|
|
|
|
ENV NEXTCLOUD_UPDATE=1
|
|
|
|
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|