From 84074a1ea1311ff308c08f4662bd94b7760a8dd8 Mon Sep 17 00:00:00 2001 From: Guillem Borrell Date: Sat, 13 Jul 2024 12:45:29 +0200 Subject: [PATCH] Pre install httpfs --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index b0214bb..0b8f38f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,9 @@ RUN pip install uv RUN uv pip install --python /usr/local/bin/python3 --no-cache -r requirements.txt RUN uv pip install --python /usr/local/bin/python3 -e . +# Install the httpfs extension for duckdb +RUN python3 -c "import duckdb; db = duckdb.connect(':memory:'); db.sql('install httpfs')" + EXPOSE 8080 # Run the command to start uvicorn