pvanand commited on
Commit
3fa3126
1 Parent(s): bae9d2a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -8
Dockerfile CHANGED
@@ -13,7 +13,6 @@ COPY requirements.txt .
13
  # Install the dependencies from the requirements file.
14
  RUN python -m pip install --no-cache-dir -r requirements.txt
15
 
16
-
17
  # Prevents Python from writing pyc files.
18
  ENV PYTHONDONTWRITEBYTECODE=1
19
 
@@ -31,15 +30,12 @@ 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
38
 
39
- # Run the application.
40
- #CMD ["run","--enable-api","--port","7860"]
41
-
42
- # List of models: Arpit-v1.1.tar.gz, central+careersv1.0.tar.gz,Maisam+Arpit+anand+pankaj-bot-v1.0.tar.gz
43
 
44
- # To specify model path
45
- CMD rasa run --model "models/combined-bot-v1.5.tar.gz" --enable-api --cors="*" --debug --port 7860
 
13
  # Install the dependencies from the requirements file.
14
  RUN python -m pip install --no-cache-dir -r requirements.txt
15
 
 
16
  # Prevents Python from writing pyc files.
17
  ENV PYTHONDONTWRITEBYTECODE=1
18
 
 
30
  USER 1001
31
 
32
  # set entrypoint for interactive shells
33
+ ENTRYPOINT [ "rasa" ]
34
 
35
  # Expose the port that the application listens on.
36
  EXPOSE 7860
37
 
38
+ # List of Models: central+careersv1.0.tar.gz,Arpit-v1.0.tar.gz,Maisam+Arpit+Anand+Pankaj-bot-v1.0.tar.gz
 
 
 
39
 
40
+ # Run the application.
41
+ CMD ["run","--model","models/combined-bot-v1.5.tar.gz","--enable-api","--port","7860"]