File size: 378 Bytes
9b6e1ee
 
 
 
 
 
3cd1117
 
 
 
9b6e1ee
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM nextcloud:apache

RUN sed -i 's/Listen 80/Listen 7860/' /etc/apache2/ports.conf && \
    sed -i 's/:80>/:7860>/' /etc/apache2/sites-enabled/000-default.conf

ENV NEXTCLOUD_UPDATE=1
ENV OVERWRITEPROTOCOL=https
ENV OVERWRITEHOST=opceanai-nextcloud.hf.space
ENV OVERWRITECLIURL=https://opceanai-nextcloud.hf.space
ENV TRUSTED_PROXIES=*

EXPOSE 7860

CMD ["apache2-foreground"]