Skip to content

Commit

Permalink
Merge pull request #31 from ScilifelabDataCentre/ebi_index
Browse files Browse the repository at this point in the history
Add EBI index updater
  • Loading branch information
LianeHughes authored Apr 15, 2024
2 parents 2749d9f + eebdf40 commit 987e66b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y git curl

WORKDIR /code

RUN git clone https://github.com/ScilifelabDataCentre/pathogens-portal-visualisations.git
RUN git clone https://github.com/ScilifelabDataCentre/pathogens-portal-visualisations.git && \
git clone https://github.com/ScilifelabDataCentre/pathogens-portal-scripts.git

COPY *.sh *.py requirements.txt /code/

RUN pip install -r requirements.txt

RUN mkdir output
RUN pip install -r requirements.txt && \
mkdir output

CMD ["/code/all.sh"]
2 changes: 2 additions & 0 deletions runner_daily.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export CODE_PATH=/code

python "$CODE_PATH"/slack_figshare.py

PYTHONPATH="$CODE_PATH"/pathogens-portal-scripts/EBI_indexing python "$CODE_PATH"/pathogens-portal-scripts/EBI_indexing/update_index_json.py

0 comments on commit 987e66b

Please sign in to comment.