Skip to content

Commit b68968e

Browse files
committed
feat: Add duckdb and its extensions to Dockerfile
1 parent 315fdd5 commit b68968e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ FROM python:3.9.1
44
# install numpy & cython
55
RUN pip install numpy cython
66

7+
# install duckdb and its extensions before pyprophet
8+
RUN pip install duckdb
9+
RUN python -c "import duckdb; conn = duckdb.connect(); conn.execute(\"INSTALL 'sqlite_scanner'\"); conn.execute(\"LOAD 'sqlite_scanner'\");"
10+
711
# install PyProphet and dependencies
812
ADD . /pyprophet
913
WORKDIR /pyprophet

0 commit comments

Comments
 (0)