Create chatgpt.sh
Browse files- chatgpt.sh +9 -0
chatgpt.sh
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# 拉取ChatGPT Web应用的Docker镜像
|
4 |
+
docker pull yidadaa/chatgpt-next-web
|
5 |
+
|
6 |
+
# 运行ChatGPT Web应用容器
|
7 |
+
docker run -d -p 3000:3000 \
|
8 |
+
-e OPENAI_API_KEY="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" \
|
9 |
+
yidadaa/chatgpt-next-web
|