fix: change REFLEX_ENV from 'production' to 'prod' in Dockerfile
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled

Reflex only accepts 'dev' or 'prod' as valid --env values.
This was causing: Error: Invalid value for '--env': 'production' is not one of 'dev', 'prod'

Changes:
- Dockerfile: REFLEX_ENV=production -> prod
- Dockerfile CMD: --env production -> prod
- docs/handbook.md: updated example command
This commit is contained in:
Ehsan.Asadi
2025-12-30 17:14:01 +03:30
parent befa393ba6
commit a0e778f007
2 changed files with 4 additions and 4 deletions

View File

@@ -420,7 +420,7 @@ python -m reflex run
python -m reflex run --reload
# Production mode
python -m reflex run --env production
python -m reflex run --env prod
```
---