Skip to content

Commit

Permalink
fix python site-packages location for new base image
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjoyo committed Apr 12, 2024
1 parent 4305e01 commit a41e314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY --from=build-jvm /app/target/feel-engine-wrapper-runner feel-wrapper
COPY ./bpm-ai-connectors-c8/bpm_ai_connectors_c8/ ./bpm_ai_connectors_c8/
COPY --from=build-python /app/.venv/lib/python${PYTHON_VERSION}/site-packages /home/nonroot/.local/lib/python${PYTHON_VERSION}/site-packages
COPY --from=build-python /app/.venv/lib/python${PYTHON_VERSION}/site-packages /usr/local/lib/python${PYTHON_VERSION}/site-packages

# Run two processes: connector runtime + feel engine wrapper
COPY init.py .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.prebuilt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY --chmod=755 ./feel-engine-wrapper/target/feel-engine-wrapper-runner feel-wrapper
COPY ./bpm-ai-connectors-c8/bpm_ai_connectors_c8/ ./bpm_ai_connectors_c8/
COPY --from=build-python /app/.venv/lib/python${PYTHON_VERSION}/site-packages /home/nonroot/.local/lib/python${PYTHON_VERSION}/site-packages
COPY --from=build-python /app/.venv/lib/python${PYTHON_VERSION}/site-packages /usr/local/lib/python${PYTHON_VERSION}/site-packages

# Run two processes: connector runtime + feel engine wrapper
COPY init.py .
Expand Down

0 comments on commit a41e314

Please sign in to comment.