Skip to content

Commit 79edcd8

Browse files
committed
remove risky commands
1 parent 96fe68a commit 79edcd8

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/langserve-openai.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,12 @@ jobs:
5555
5656
# Build the Docker image
5757
docker rmi -f deviesprbot || true
58-
docker build -t deviesprbot:latest .
58+
docker build -t deviesprbot .
5959
60-
# Create Docker network if it doesn't exist
61-
docker network create langchain-network || true
62-
6360
# Run the pgvector with the network
6461
docker run -d \
6562
--name pgvector-container \
6663
--network langchain-network \
67-
--restart unless-stopped \
6864
-p 6024:5432 \
6965
-e POSTGRES_USER="${{ secrets.POSTGRES_USER }}" \
7066
-e POSTGRES_PASSWORD="${{ secrets.POSTGRES_PASSWORD }}" \
@@ -75,7 +71,6 @@ jobs:
7571
docker run -d \
7672
--name deviesprbot-container \
7773
--network langchain-network \
78-
--restart unless-stopped \
7974
-p 8080:8080 \
8075
-e OPENAI_API_KEY="${{ secrets.OPENAI_API_KEY }}" \
8176
-e POSTGRES_DB_CONN="${{ secrets.POSTGRES_DB_CONN }}" \
@@ -86,11 +81,8 @@ jobs:
8681
-e MPLCONFIGDIR="${{ secrets.MPLCONFIGDIR }}" \
8782
-e NLTK_DATA="${{ secrets.NLTK_DATA }}" \
8883
-e XDG_CACHE_HOME="${{ secrets.XDG_CACHE_HOME }}" \
89-
deviesprbot:latest
84+
deviesprbot
9085
91-
# Remove the image
92-
docker rmi -f deviesprbot || true
93-
9486
# Remove the git repo
9587
rm -rf chat-langchain
9688

0 commit comments

Comments
 (0)