Nextcloud / Dockerfile
OpceanAI's picture
Update Dockerfile
3cd1117 verified
raw
history blame contribute delete
378 Bytes
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"]