-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile_action_image
More file actions
36 lines (27 loc) · 877 Bytes
/
Copy pathDockerfile_action_image
File metadata and controls
36 lines (27 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Extend the official Rasa SDK image
FROM rasa/rasa-sdk:2.6.0
# Use subdirectory as working d
# Copy any additional custom requirements, if necessary (uncomment next line)
COPY actions/requirements-actions.txt ./
# Change back to root user to install dependencies
USER root
# Install extra requirements for actions code, if necessary (uncomment next line)
RUN pip install tilt
RUN pip install -r requirements-actions.txt
# Copy actions folder to working directory
COPY ./actions /app/actions
# By best practices, don't run the code with root user
USER 1001
#FROM rasa/rasa:2.2.0
#
#USER root
#
#WORKDIR /app
#COPY . /app
#COPY ./data /app/data
#
#
#RUN rasa train -c ./config.yml -d ./domain.yml --data ./data/de/ --fixed-model-name "de-model" --debug
#
#CMD [ "run","-m","/app/models/de-model.tar.gz","--enable-api","--cors","*","--debug" ]
##CMD ["run", "actions"]