pvanand commited on
Commit
ef8dadb
·
1 Parent(s): edde665

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -7
Dockerfile CHANGED
@@ -31,7 +31,7 @@ COPY . .
31
  USER 1001
32
 
33
  # set entrypoint for interactive shells
34
- ENTRYPOINT [ "rasa" ]
35
 
36
  # Expose the port that the application listens on.
37
  EXPOSE 7860
@@ -39,11 +39,7 @@ EXPOSE 7860
39
  # Get secret openai and mount it
40
  RUN --mount=type=secret,id=openai,mode=0444,required=true
41
 
42
- # Run the application.
43
- #CMD ["run","--enable-api","--port","7860"]
44
-
45
- # List of models: Arpit-v1.1.tar.gz, central+careersv1.0.tar.gz,Maisam+Arpit+anand+pankaj-bot-v1.0.tar.gz
46
-
47
  # To specify model path
48
- CMD ["run","actions","--port","7860"]
 
49
 
 
31
  USER 1001
32
 
33
  # set entrypoint for interactive shells
34
+ # ENTRYPOINT [ "rasa" ]
35
 
36
  # Expose the port that the application listens on.
37
  EXPOSE 7860
 
39
  # Get secret openai and mount it
40
  RUN --mount=type=secret,id=openai,mode=0444,required=true
41
 
 
 
 
 
 
42
  # To specify model path
43
+ # CMD ["run","actions","--port","7860"]
44
+ CMD ["python", "app.py"]
45