Download Dockerfile from chizk/chatlima: direct link, hf CLI and curl.
- Browser
- Download file 593 Bytes
-
https://huggingface.co/spaces/chizk/chatlima/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/chizk/chatlima/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/chizk/chatlima/resolve/main/Dockerfile
593 Bytes
| FROM ghcr.io/enricoros/big-agi:latest | |
| # Force the official production server to bind to Hugging Face's port parameters | |
| ENV PORT=7860 | |
| ENV HOST=0.0.0.0 | |
| ENV NODE_ENV=production | |
| # Hugging Face runs containers using user ID 1000. | |
| # Open up permissions for potential Next.js cache directories just in case. | |
| USER root | |
| RUN mkdir -p /app/.next /app/public && chmod -R 777 /app | |
| # Revert to the expected non-root user context for Hugging Face | |
| USER 1000 | |
| # Expose Hugging Face Space's target port | |
| EXPOSE 7860 | |
| # DO NOT override CMD or ENTRYPOINT. The base image handles its own execution automatically. |