Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
neurogarg authored Aug 11, 2024
1 parent b119d45 commit 95663ea
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docker/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@ ENV INPUT_FOLDER="/input" \

WORKDIR /home/${SC_USER_NAME}

# copy lib for python packages
# copy lib for python packages and the src files containing my code
COPY --from=build --chown=${SC_USER_NAME}:${SC_USER_NAME} /usr/local/lib /usr/local/lib

COPY --from=build --chown=${SC_USER_NAME}:${SC_USER_NAME} /build/src/datawave /home/${SC_USER_NAME}/datawave



# ------------------------------------------------------------------------------------
#TODO:
# Install runtime dependencies
Expand All @@ -86,8 +90,8 @@ COPY --chown=${SC_USER_NAME}:${SC_USER_NAME} service.cli/ service.cli/
# necessary to be able to call run directly without sh in front
ENV PATH="/home/${SC_USER_NAME}/service.cli:${PATH}"

# copy binaries from build
COPY --from=build --chown=${SC_USER_NAME}:${SC_USER_NAME} /build/bin datawave



# ------------------------------------------------------------------------------------
#TODO:
Expand Down

0 comments on commit 95663ea

Please sign in to comment.