Skip to content

Commit

Permalink
Updated compose to pass credentials as build argument
Browse files Browse the repository at this point in the history
  • Loading branch information
rawanmahdi committed Feb 24, 2024
1 parent 5b9207b commit ff717ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ services:
ports:
- '3000:3000'
backend-service:
build: ./backend
build:
context: ./backend
args:
- CREDENTIALS_JSON=./backend/credentials.json
ports:
- '8000:8000'

0 comments on commit ff717ea

Please sign in to comment.