File changer never ran - changed.
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user