File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -1081,7 +1081,7 @@ npm run populate users settings assistants conversations
1081
1081
1082
1082
to populate the database with fake data, including fake conversations and assistants for your user.
1083
1083
1084
- ### Building the docker images locally
1084
+ ## Building the docker images locally
1085
1085
1086
1086
You can build the docker images locally using the following commands:
1087
1087
@@ -1090,3 +1090,13 @@ docker build -t chat-ui-db:latest --build-arg INCLUDE_DB=true .
1090
1090
docker build -t chat-ui:latest --build-arg INCLUDE_DB=false .
1091
1091
docker build -t huggingchat:latest --build-arg INCLUDE_DB=false --build-arg APP_BASE=/chat --build-arg PUBLIC_APP_COLOR=yellow .
1092
1092
```
1093
+
1094
+ If you want to run the images with your local .env.local you have two options
1095
+
1096
+ ``` bash
1097
+ DOTENV_LOCAL=$( < .env.local) docker run --rm --network=host -e DOTENV_LOCAL -p 3000:3000 chat-ui
1098
+ ```
1099
+
1100
+ ``` bash
1101
+ docker run --rm --network=host --mount type=bind,source=" $( pwd) /.env.local" ,target=/app/.env.local -p 3000:3000 chat-ui
1102
+ ```
You can’t perform that action at this time.
0 commit comments