mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-12 22:14:05 +00:00
Update setup.sh
Create required directories on the host machine if they don't exist.
This commit is contained in:
1 parent
a4bc3673e7
commit
1d2654b9fa
1 file changed
+5
@@ -1,6 +1,11 @@
|
||||
#!/bin/bash
|
||||
cd "$(dirname "$0")" || exit
|
||||
|
||||
# Create the required directories on the host machine if they don't exist
|
||||
[ ! -d "./application/indexes" ] && mkdir -p ./application/indexes
|
||||
[ ! -d "./application/inputs" ] && mkdir -p ./application/inputs
|
||||
[ ! -d "./application/vectors" ] && mkdir -p ./application/vectors
|
||||
|
||||
# Build frontend and backend images
|
||||
docker build -t frontend_image ./frontend
|
||||
docker build -t backend_image ./application
|
||||
|
||||
Reference in new issue
Block a user