Skip to content

Commit 585e878

Browse files
author
Peter Amstutz
committed
Update Dockerfile to handle wes-service wheel
1 parent 51424b9 commit 585e878

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,11 @@ RUN mkdir -p /etc/apt/sources.list.d && \
2525

2626
ARG arvversion
2727
COPY dist/arvados-cwl-runner-${arvversion}.tar.gz /root
28-
RUN cd /root && tar xzf arvados-cwl-runner-${arvversion}.tar.gz && \
29-
cd arvados-cwl-runner-${arvversion} && \
30-
pip install .
28+
RUN cd /root && pip install arvados-cwl-runner-${arvversion}.tar.gz
3129

3230
ARG version
33-
COPY dist/wes-service-${version}.tar.gz /root
34-
RUN cd /root && tar xzf wes-service-${version}.tar.gz && \
35-
cd wes-service-${version} && \
36-
pip install .[arvados]
31+
COPY dist/wes_service-${version}-*.whl /root
32+
RUN cd /root && pip install $(ls wes_service-${version}-*.whl)[arvados]
3733

3834
COPY passenger_wsgi.py /var/www/wes-server/passenger_wsgi.py
3935

0 commit comments

Comments
 (0)