Spaces:
Runtime error
Runtime error
Download Dockerfile.postgres from samarthnaikk/finsight1: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/spaces/samarthnaikk/finsight1/resolve/main/Dockerfile.postgres
- Command line
-
hf download hf://spaces/samarthnaikk/finsight1/Dockerfile.postgres
-
curl -L -o Dockerfile.postgres https://huggingface.co/spaces/samarthnaikk/finsight1/resolve/main/Dockerfile.postgres
469 Bytes
| # PostgreSQL Dockerfile for FinSight | |
| # This container provides a PostgreSQL database with automatic initialization | |
| FROM postgres:16-alpine | |
| # Copy initialization script | |
| COPY init-db.sql /docker-entrypoint-initdb.d/ | |
| # Expose PostgreSQL port | |
| EXPOSE 5432 | |
| # The official postgres image already handles initialization | |
| # Scripts in /docker-entrypoint-initdb.d/ are executed on first run | |
| # Database credentials are configured via environment variables in docker-compose.yml |