Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix autogpt docker image not working because missing prompt_settings (#4680)

merwanehamadi0c8f2cfd1c35
diff --git a/.dockerignore b/.dockerignore
index 9ac551095c..fef46549ab 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -2,6 +2,7 @@
*.template
*.yaml
*.yml
+!prompt_settings.yaml
*.md
*.png
diff --git a/Dockerfile b/Dockerfile
index 68be43d5d5..a31c78abff 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -40,6 +40,7 @@ WORKDIR /app
ONBUILD COPY autogpt/ ./autogpt
ONBUILD COPY scripts/ ./scripts
ONBUILD COPY plugins/ ./plugins
+ONBUILD COPY prompt_settings.yaml ./prompt_settings.yaml
ONBUILD RUN mkdir ./data
FROM autogpt-${BUILD_TYPE} AS auto-gpt