Mohammed Foud commited on
Commit
786c44f
·
1 Parent(s): 685db73

Add application file

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -40,4 +40,4 @@ RUN mkdir -p /app/har_and_cookies /app/generated_media && \
40
  EXPOSE 7860
41
 
42
  # Correct command to run the application using the g4f CLI
43
- CMD ["sh", "-c", "python -m g4f.api.run --port $PORT"]
 
40
  EXPOSE 7860
41
 
42
  # Correct command to run the application using the g4f CLI
43
+ CMD ["sh", "-c", "python -m g4f.cli api --bind 0.0.0.0:$PORT"]