fix: updated docker execution script from docker-compose to docker compose so it works on latest versions of docker used across contributors machine

This commit is contained in:
utin-francis-peter
2024-09-26 12:09:44 +01:00
parent d6cb66cd2f
commit ecf88e7ea1

View File

@@ -4,8 +4,8 @@ source .env
if [[ -n "$OPENAI_API_BASE" ]] && [[ -n "$OPENAI_API_VERSION" ]] && [[ -n "$AZURE_DEPLOYMENT_NAME" ]] && [[ -n "$AZURE_EMBEDDINGS_DEPLOYMENT_NAME" ]]; then
echo "Running Azure Configuration"
docker-compose -f docker-compose-azure.yaml build && docker-compose -f docker-compose-azure.yaml up
docker compose -f docker-compose-azure.yaml build && docker compose -f docker-compose-azure.yaml up
else
echo "Running Plain Configuration"
docker-compose build && docker-compose up
docker compose build && docker compose up
fi