thisisishara
commited on
Commit
•
d1feadc
1
Parent(s):
ee09914
fix permission issues
Browse files- Dockerfile +0 -1
- entrypoint.sh +1 -1
- rasa-assistant/.config +0 -0
Dockerfile
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
FROM python:3.10
|
3 |
|
4 |
# Set the working directory
|
5 |
-
USER root
|
6 |
WORKDIR /app
|
7 |
|
8 |
# Install NGINX
|
|
|
2 |
FROM python:3.10
|
3 |
|
4 |
# Set the working directory
|
|
|
5 |
WORKDIR /app
|
6 |
|
7 |
# Install NGINX
|
entrypoint.sh
CHANGED
@@ -7,7 +7,7 @@ nginx -g 'daemon off;'
|
|
7 |
trap 'nginx -s quit' SIGTERM
|
8 |
|
9 |
# Start the Rasa server
|
10 |
-
rasa run -m models --enable-api --cors "*" --debug --port 5005 &
|
11 |
|
12 |
# Start the Rasa Actions server
|
13 |
rasa run actions --actions actions --debug --port 5055 &
|
|
|
7 |
trap 'nginx -s quit' SIGTERM
|
8 |
|
9 |
# Start the Rasa server
|
10 |
+
mkdir -p /app/models && mkdir -p /app/.rasa && mkdir -p /app/tests && rasa run -m models --enable-api --cors "*" --debug --port 5005 &
|
11 |
|
12 |
# Start the Rasa Actions server
|
13 |
rasa run actions --actions actions --debug --port 5055 &
|
rasa-assistant/.config
ADDED
File without changes
|