diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ecdeb17..ddf90c9 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -32,7 +32,7 @@ jobs: CREDENTIALS_JSON: ${{ secrets.B64_ENCODED_KEY }} run: | gcloud auth configure-docker us-central1-docker.pkg.dev - docker build --build-arg CREDENTIALS_JSON=./docker_credentials.json -t us-central1-docker.pkg.dev/automate-gdsc/backend-images/backend:latest ./backend + docker build --build-arg CREDENTIALS_JSON=../docker_credentials.json -t us-central1-docker.pkg.dev/automate-gdsc/backend-images/backend:latest ./backend docker push us-central1-docker.pkg.dev/automate-gdsc/backend-images/backend:latest - name: Build and Push Frontend Docker Image diff --git a/backend/Dockerfile b/backend/Dockerfile index f8293ee..d81ffd8 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -41,7 +41,7 @@ RUN pip install uvicorn[standard]==0.23.2 # Copy the required files & dir into the container COPY compute ./compute COPY big_query.py ./ -COPY ${CREDENTIALS_JSON} ./credentials.json +COPY ${CREDENTIALS_JSON} ./ # create dir for the HTML files created during profiling RUN mkdir tempHTML