Spaces:
Paused
Paused
| FROM evoapicloud/evolution-api:v1.8.7 | |
| # Force Hugging Face compliance β declare the app port | |
| ENV PORT=7860 | |
| ENV APP_PORT=7860 | |
| EXPOSE 7860 | |
| # Secure Environment Configurations | |
| ENV AUTHENTICATION_API_KEY= | |
| ENV WEBHOOK_GLOBAL_ENABLED=true | |
| # Ensure container permissions are standard | |
| USER root | |
| RUN mkdir -p /app/custom-data && chmod -R 777 /app/custom-data | |
| # Server and CORS settings | |
| ENV SERVER_URL=0.0.0.0 | |
| ENV SERVER_PORT=7860 | |
| ENV CORS_ORIGIN=* | |
| ENV CORS_METHODS=GET,POST,PUT,DELETE,OPTIONS | |
| ENV CORS_CREDENTIALS=true | |
| ENV LOG_LEVEL=info | |