File size: 535 Bytes
95cbfb6
 
 
 
 
 
 
 
cb360df
95cbfb6
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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