Created
December 20, 2022 17:11
-
-
Save quiiver/4324bdc670d0318e3ee8cd5a97b6e574 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/Dockerfile w/Dockerfile | |
index a77b7e581..27f1f6434 100644 | |
--- i/Dockerfile | |
+++ w/Dockerfile | |
@@ -11,8 +11,8 @@ WORKDIR /app | |
ENV PYTHONUNBUFFERED=1 \ | |
PYTHONFAULTHANDLER=1 \ | |
- PYSETUP_PATH="/opt/pysetup" \ | |
- VENV_PATH="/opt/pysetup/.venv" \ | |
+ PYSETUP_PATH="/app" \ | |
+ VENV_PATH="/app/.venv" \ | |
POETRY_HOME="/opt/poetry" \ | |
POETRY_VIRTUALENVS_IN_PROJECT=true \ | |
POETRY_NO_INTERACTION=1 | |
@@ -49,7 +49,6 @@ COPY --from=google/cloud-sdk:alpine /google-cloud-sdk /google-cloud-sdk | |
ENV PATH /google-cloud-sdk/bin:$PATH | |
COPY --from=java-deps /app/target/dependency /app/target/dependency | |
COPY --from=java-deps /app/target/*.jar /app/target/ | |
-COPY --from=python-deps $VENV_PATH $VENV_PATH | |
+COPY --from=python-deps $PYSETUP_PATH $PYSETUP_PATH | |
COPY .bigqueryrc /root/ | |
-COPY . . | |
ENTRYPOINT ["/app/script/entrypoint"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment