Skip to content

Commit

Permalink
update legacy Dockerfile to use knesset-data-python from git master
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Sep 30, 2024
1 parent 6fb0c49 commit 60f493a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ FROM ghcr.io/hasadna/knesset-data-pipelines/knesset-data-pipelines:8028b98004108
#COPY Pipfile.lock /pipelines/
#RUN pipenv install --system --deploy --ignore-pipfile
#RUN python3 -m pip install jupyterlab
RUN pip uninstall -y knesset-data &&\
pip install -e 'git+https://github.com/hasadna/knesset-data-python.git@3e3141ff76eabf20a72d16fc098544759f5952a8#egg=knesset-data'
RUN KNESSET_DATA_COMMIT=3e3141ff76eabf20a72d16fc098544759f5952a8 &&\
pip uninstall -y knesset-data &&\
pip install -e "git+https://github.com/hasadna/knesset-data-python.git@${KNESSET_DATA_COMMIT}#egg=knesset-data" &&\
echo "__version__ = '${KNESSET_DATA_COMMIT}'" >> /pipelines/src/knesset-data/knesset_data/__init__.py
COPY datapackage_pipelines_knesset /pipelines/datapackage_pipelines_knesset
COPY setup.py /pipelines/
RUN pip install -e .
Expand Down

0 comments on commit 60f493a

Please sign in to comment.