A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
update config
aichy1262235796d3aa4
diff --git a/Dockerfile b/Dockerfileindex 6fff17d8..53d65fbc 100644--- a/Dockerfile+++ b/Dockerfile@@ -22,7 +22,7 @@ COPY --from=node-builder /tmp/build ${BUILD_DIR}/ui/buildRUN make clean build && \cp answer /usr/bin/answer && \mkdir -p /tmp/cache && chmod 777 /tmp/cache && \- mkdir /data && chmod 777 /data && cp configs/config.yaml /data/config.yaml && \+ mkdir -p /data/conf && chmod 777 /data/conf && cp configs/config.yaml /data/conf/config.yaml && \mkdir -p /data/upfiles && chmod 777 /data/upfiles && \mkdir -p /data/i18n && chmod 777 /data/i18n && cp -r i18n/*.yaml /data/i18ndiff --git a/configs/config.yaml b/configs/config.yamlindex 7731bbef..84cb323f 100644--- a/configs/config.yaml+++ b/configs/config.yaml@@ -16,4 +16,4 @@ swaggerui:service_config:secret_key: "answer"web_host: "http://127.0.0.1"- upload_path: "./upfiles"+ upload_path: "/data/upfiles"diff --git a/script/entrypoint.sh b/script/entrypoint.shindex 4e761961..11f2f2fa 100755--- a/script/entrypoint.sh+++ b/script/entrypoint.sh@@ -2,4 +2,4 @@if [ ! -f "/data/config.yaml" ]; then/usr/bin/answer initfi-/usr/bin/answer run -c /data/config.yaml+/usr/bin/answer run -c /data/conf/config.yaml