File changer never ran - changed.

This commit is contained in:
2026-01-13 16:03:04 +01:00
parent 818576c03a
commit e5ba624aa9
3 changed files with 85 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY app.py .
COPY gunicorn_config.py .
# Create config directory
RUN mkdir -p /config
@@ -27,9 +28,7 @@ EXPOSE 5000
# Environment variables
ENV ESPHOME_CONFIG_DIR=/config
ENV AUTO_COMPILE=true
ENV AUTO_UPLOAD=false
ENV DEBOUNCE_SECONDS=5
# Run the webhook service
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "2", "--timeout", "600", "app:app"]
# Run the webhook service with Gunicorn config
CMD ["gunicorn", "-c", "gunicorn_config.py", "app:app"]