This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Raul Del Pozo Moreno
committed
Jul 13, 2022
1 parent
5a47fd5
commit 45020fd
Showing
6 changed files
with
84 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM rasa/rasa:3.1.1 | ||
WORKDIR '/app' | ||
COPY . /app | ||
USER root | ||
# WORKDIR /app | ||
# COPY . /app | ||
COPY ./data /app/data | ||
RUN rasa train | ||
VOLUME /app | ||
VOLUME /app/data | ||
VOLUME /app/models | ||
CMD ["run","-m","/app/models","--enable-api","--cors","*","--debug" ,"--endpoints", "endpoints.yml", "--log-file", "out.log", "--debug"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM rasa/rasa-sdk:3.1.1 | ||
WORKDIR /app | ||
COPY requirements.txt requirements.txt | ||
USER root | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install --verbose -r requirements.txt | ||
|
||
RUN apt-get update && apt-get install -y locales | ||
RUN locale-gen es_ES | ||
RUN locale-gen es_ES.utf8 | ||
|
||
EXPOSE 5055 | ||
USER 1001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Unidecode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: '3.0' | ||
services: | ||
rasa: | ||
container_name: rasa-server | ||
build: | ||
context: . | ||
ports: | ||
- 5005:5005 | ||
volumes: | ||
- ./:/app | ||
command: | ||
- run | ||
depends_on: | ||
- action_server | ||
action_server: | ||
container_name: rasa-actions | ||
build: | ||
context: actions | ||
volumes: | ||
- ./actions:/app/actions | ||
ports: | ||
- 5055:5055 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters