Skip to content
Snippets Groups Projects
Commit e25ea6c5 authored by Vlad Kondratiev's avatar Vlad Kondratiev
Browse files

debugging with COPY/ADD/WORKDIR

parent 74f01b4e
Branches
No related tags found
1 merge request!4Update docs
Pipeline #114513 failed
Pipeline: pulp2-cwl-redigitization

#114514

    ......@@ -4,6 +4,7 @@ FROM ubuntu:22.04
    # Lightweight container with minimum to run digitize3.py
    #
    ENV INSTALL_DIR=/usr/local
    WORKDIR /src
    RUN export DEBIAN_FRONTEND=noninteractive && \
    apt-get -y update && apt-get -y upgrade && \
    ......@@ -25,7 +26,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
    # Install toil
    RUN python3 -m pip install --no-cache-dir --upgrade toil[cwl]
    ADD . ${INSTALL_DIR}/src/pulp2-cwl-redigitization
    RUN cp ${INSTALL_DIR}/src/pulp2-cwl-redigitization/scripts/digitize3.py ${INSTALL_DIR}/bin
    ADD /src ${INSTALL_DIR}/src/pulp2-cwl-redigitization
    COPY /src/scripts/digitize3.py ${INSTALL_DIR}/bin
    RUN ${INSTALL_DIR}/bin/digitize3.py -h
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment