This commit is contained in:
2026-02-24 22:28:39 +00:00
parent 0181c35406
commit aa5d9644c5
2 changed files with 54 additions and 2 deletions

View File

@@ -14,5 +14,5 @@ RUN pip install --no-cache-dir praw
ENV PYTHONUNBUFFERED=1
# Run the script
CMD ["python", "Bot/main.py"]
# Always generate config.py from environment before starting
CMD ["/bin/sh", "-c", "python populate_config.py && python Bot/main.py"]