Update Dockerfile
Browse files- 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 |
-
|
35 |
|
36 |
# Expose the port that the application listens on.
|
37 |
EXPOSE 7860
|
38 |
|
39 |
-
#
|
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 |
-
#
|
45 |
-
CMD
|
|
|
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"]
|