waynelmccoy/Discount4U_simulation
0
title: Discount4U Dash (HF Docker) emoji: ๐๏ธ colorFrom: blue colorTo: green sdk: docker app_port: 7860 pinned: false ---
Discount4U โ Dash on Hugging Face Spaces (Docker)
This Space runs a Dash app with gunicorn under Docker. The instructor unlock key is hardcoded in app.py for the free plan (no Variables tab): D4U2025.
Deploy steps
- Create a Space โ SDK: Docker โ Public โ Create.
- Go to Files and Versions โ Add file โ Upload files.
- Upload all four files from this package:
Dockerfile,requirements.txt,app.py,README.mdโ Commit. - Wait for the build to finish; the Space will go live automatically on port 7860.
Local dev (optional)
pip install -r requirements.txt
python app.py # http://127.0.0.1:8050