Esmaill1 commited on
Commit
68f58dd
·
1 Parent(s): 21f82e4

Add AI Quiz Bot files

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -16,7 +16,9 @@ RUN pip install --no-cache-dir -r requirements.txt
16
 
17
  # Copy application code
18
  COPY bot.py .
19
- COPY .env .
 
 
20
 
21
  # Create a non-root user for security
22
  RUN useradd -m -u 1000 botuser && chown -R botuser:botuser /app
@@ -24,3 +26,4 @@ USER botuser
24
 
25
  # Run the bot
26
  CMD ["python", "bot.py"]
 
 
16
 
17
  # Copy application code
18
  COPY bot.py .
19
+
20
+ # Environment variables are injected by HF Spaces via Secrets
21
+ # Do NOT copy .env - it contains secrets and should never be in the repo
22
 
23
  # Create a non-root user for security
24
  RUN useradd -m -u 1000 botuser && chown -R botuser:botuser /app
 
26
 
27
  # Run the bot
28
  CMD ["python", "bot.py"]
29
+ CMD ["python", "bot.py"]