Skip to content

Commit

Permalink
Modify batch predictor docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
shydefoo committed Feb 21, 2023
1 parent d2fdfc6 commit 8eea1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/batch-predictor/docker/app.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ARG MODEL_URL
ARG GOOGLE_APPLICATION_CREDENTIALS

# Run docker build using the provided credential
RUN gcloud auth activate-service-account --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
RUN if [[-z "$GOOGLE_APPLICATION_CREDENTIALS"]]; then gcloud auth activate-service-account --key-file=${GOOGLE_APPLICATION_CREDENTIALS}; fi
RUN gsutil -m cp -r ${MODEL_URL} .
# pip 20.2.4 to allow dependency conflicts
RUN /bin/bash -c ". activate ${CONDA_ENVIRONMENT} && \
Expand Down

0 comments on commit 8eea1f8

Please sign in to comment.