Spaces:
Sleeping
Sleeping
Download Dockerfile from napps-agency/nextcloud: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/spaces/napps-agency/nextcloud/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/napps-agency/nextcloud/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/napps-agency/nextcloud/resolve/main/Dockerfile
338 Bytes
| FROM nextcloud:apache | |
| USER root | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends socat tini && \ | |
| rm -rf /var/lib/apt/lists/* | |
| ENV PORT=7860 | |
| ENV SQLITE_DATABASE=nextcloud | |
| ENV PHP_MEMORY_LIMIT=512M | |
| ENV PHP_UPLOAD_LIMIT=1024M | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| EXPOSE 7860 | |
| ENTRYPOINT ["/start.sh"] | |