Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.

Commit 3e2bfd1

Browse files
committed
Split requirements.txt out of Dockerfile
1 parent 251009c commit 3e2bfd1

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,8 @@ RUN apt-get update && \
1717
rm -rf /var/lib/apt/lists/*
1818

1919
# Install dependencies
20-
RUN pip install --no-cache --upgrade pip \
21-
&& pip install --no-cache \
22-
notebook \
23-
"jupyterlab==3.4.8" \
24-
pyarrow \
25-
"git+https://github.com/ibis-project/ibis.git#egg=ibis-framework[sqlite,duckdb,clickhouse]" \
26-
&& find /usr/local/lib/python3.10/site-packages/ -follow -type f -name '*.a' -delete \
27-
&& find /usr/local/lib/python3.10/site-packages/ -follow -type f -name '*.pyc' -delete \
20+
COPY requirements.txt requirements.txt
21+
RUN pip install --no-cache -r requirements.txt \
2822
&& find /usr/local/lib/python3.10/site-packages/ -follow -type f -name '*.js.map' -delete
2923

3024
COPY --chown=${NB_UID} examples ${HOME}/examples

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
notebook
2+
jupyterlab == 3.4.8
3+
git+https://github.com/ibis-project/ibis.git#egg=ibis-framework[sqlite,duckdb,clickhouse]

0 commit comments

Comments
 (0)