Skip to content

Commit

Permalink
cicd: fix key location
Browse files Browse the repository at this point in the history
  • Loading branch information
Emyr298 committed Jun 7, 2024
1 parent 952d799 commit 2f65fd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
docker container rm -f chefies-backend
docker image rm -f chefies-backend
docker load -i images/chefies-backend.tar
docker run --name chefies-backend -e SERVICE_ACCOUNT_PATH="./keys/credentials.json" -d --restart always -p 8000:8000 chefies-backend
docker run --name chefies-backend -e SERVICE_ACCOUNT_PATH="/app/keys/credentials.json" -d --restart always -p 8000:8000 chefies-backend
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ RUN pip3 install --no-cache-dir --upgrade pip
RUN poetry install

COPY ./cefies /app/cefies
COPY ./keys /app/keys
CMD ["fastapi", "run", "cefies/app.py", "--port", "80"]

0 comments on commit 2f65fd3

Please sign in to comment.