Spaces:
Sleeping
Sleeping
Download Dockerfile from JakeFake222/wealthfolio: direct link, hf CLI and curl.
- Browser
- Download file 482 Bytes
-
https://huggingface.co/spaces/JakeFake222/wealthfolio/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/JakeFake222/wealthfolio/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/JakeFake222/wealthfolio/resolve/main/Dockerfile
482 Bytes
| FROM afadil/wealthfolio:latest | |
| # HF Spaces runs as user with uid 1000 | |
| USER root | |
| # Create data directory with proper permissions | |
| RUN mkdir -p /data && chmod 777 /data | |
| # Set environment variables for HF Spaces | |
| ENV WF_LISTEN_ADDR=0.0.0.0:7860 | |
| ENV WF_DB_PATH=/data/wealthfolio.db | |
| ENV WF_SECRET_KEY=nfvVROn2DrW4WsEgULr95086IiiI1Nn+/FgzawerQ3A= | |
| # Expose the HF default port | |
| EXPOSE 7860 | |
| # Run as non-root user (HF requirement) | |
| USER 1000 | |
| # Start the server | |
| CMD ["wealthfolio-server"] | |