Skip to content

Commit

Permalink
ensembl-rest: cleanup cpanm directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nr23730 authored Oct 22, 2024
1 parent 3a0d550 commit a3799de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/ensembl-rest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ ENV PERL5LIB=/opt/vep/src/ensembl-vep:/opt/vep/src/ensembl-vep/modules:/opt/vep/
RUN git clone https://github.com/Ensembl/ensembl-rest.git /opt/vep/src/ensembl-rest && cd ensembl-rest && git checkout release/111 && cd ..
WORKDIR /opt/vep/src/ensembl-rest
RUN cpanm install --force Log::Any
RUN cpanm --installdeps .
RUN cpanm --installdeps . && rm -rf /root/.cpanm/work

RUN mv /opt/vep/src/ensembl-rest/ensembl_rest.conf.default /opt/vep/src/ensembl-rest/ensembl_rest.conf

EXPOSE 3000

WORKDIR /opt/vep/src/ensembl-vep/
RUN ./INSTALL.pl -n -a cf -s homo_sapiens -y GRCh37 && mv /root/.vep /opt/vep/ && chown -R root:root /
RUN ./INSTALL.pl -n -a cf -s homo_sapiens -y GRCh37 && mv /root/.vep /opt/vep/

ENTRYPOINT ["perl", "/opt/vep/src/ensembl-rest/script/ensembl_rest_server.pl"]

0 comments on commit a3799de

Please sign in to comment.