Download Dockerfile from OpendAI/NextCloud: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/OpendAI/NextCloud/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/OpendAI/NextCloud/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/OpendAI/NextCloud/resolve/main/Dockerfile
336 Bytes
| FROM nextcloud | |
| RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf | |
| EXPOSE 8080 | |
| RUN sed -i 's/Listen 80/Listen 8080/' /etc/apache2/ports.conf && \ | |
| sed -i 's/:80/:8080/' /etc/apache2/sites-available/000-default.conf | |
| RUN chmod 755 /var/log/apache2 && chown -R www-data:www-data /var/log/apache2 | |
| CMD ["apache2-foreground"] |