Spaces:
Sleeping
Sleeping
| set -euo pipefail | |
| # Generates .env.docker from .streamlit/secrets.toml and runs the container. | |
| python3 scripts/helpers/secrets_toml_to_env.py --in .streamlit/secrets.toml --out .env.docker >/dev/null | |
| PORT="${PORT:-18502}" | |
| IMAGE="${IMAGE:-ragtiquicia:local}" | |
| exec docker run --rm -p "${PORT}:8501" --env-file .env.docker "${IMAGE}" | |