Switched cli token to GOOGLE_APPLICATION_CREDENTIALS
This commit is contained in:
@@ -6,6 +6,8 @@ FROM python:3.11-slim
|
||||
# Allow statements and log messages to immediately appear in the logs
|
||||
ENV PYTHONUNBUFFERED True
|
||||
|
||||
ENV GOOGLE_APPLICATION_CREDENTIALS=/app/firebase-configs/encoach-staging.json
|
||||
|
||||
# Copy local code to the container image.
|
||||
ENV APP_HOME /app
|
||||
WORKDIR $APP_HOME
|
||||
|
||||
@@ -118,7 +118,6 @@ class BatchUsers:
|
||||
f'--rounds={os.getenv("FIREBASE_SCRYPT_ROUNDS")} '
|
||||
f'--mem-cost={os.getenv("FIREBASE_SCRYPT_MEM_COST")} '
|
||||
f'--project={os.getenv("FIREBASE_PROJECT_ID")} '
|
||||
f'--token={os.getenv("FIREBASE_CLI_TOKEN")}'
|
||||
)
|
||||
|
||||
result = subprocess.run(command, shell=True, cwd=directory, capture_output=True, text=True)
|
||||
|
||||
Reference in New Issue
Block a user