Spaces:
Running
Running
Commit ·
b202876
1
Parent(s): cbd95af
Deploy 2026-01-28 10:58:42
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -53,6 +53,11 @@ ENV PORT=7860
|
|
| 53 |
ENV FLOW_DATA_DIR=/app/data
|
| 54 |
ENV UVICORN_WORKERS=2
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
# Expose the port
|
| 57 |
EXPOSE ${PORT}
|
| 58 |
|
|
|
|
| 53 |
ENV FLOW_DATA_DIR=/app/data
|
| 54 |
ENV UVICORN_WORKERS=2
|
| 55 |
|
| 56 |
+
# Auth defaults (secrets must be provided via HF Space Settings or .env)
|
| 57 |
+
# These enable auth by default - actual credentials come from environment
|
| 58 |
+
ENV AUTH_ENABLED=true
|
| 59 |
+
ENV AUTH_MODE=github
|
| 60 |
+
|
| 61 |
# Expose the port
|
| 62 |
EXPOSE ${PORT}
|
| 63 |
|