diff --git a/ct/firecrawl.sh b/ct/firecrawl.sh index ca0d524f3..aa183bab8 100644 --- a/ct/firecrawl.sh +++ b/ct/firecrawl.sh @@ -40,8 +40,7 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "firecrawl" "firecrawl/firecrawl" "tarball" "latest" "/opt/firecrawl" restore_backup - - # Firecrawl pins its FoundationDB client version in the API Dockerfile; FDB debs name arm64 as aarch64. + FDB_VERSION="$(awk -F= '/^ARG FDB_VERSION=/{print $2; exit}' /opt/firecrawl/apps/api/Dockerfile)" if [[ -z "$FDB_VERSION" ]]; then msg_error "FDB_VERSION pin not found in upstream Dockerfile" @@ -90,5 +89,3 @@ msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW}Access it using the following URL:${CL}" echo -e "${GATEWAY}${BGN}http://${IP}:3002${CL}" -echo -e "${INFO}${YW}Configuration file:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}/opt/firecrawl/.env${CL}"