Skip to content

Commit

Permalink
Add env to docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
barshathakuri authored and thenav56 committed Dec 4, 2024
1 parent 4491d79 commit edbca20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ services:
APP_GRAPHQL_API_ENDPOINT: ${FRONTEND_APP_GRAPHQL_API_ENDPOINT?error}
APP_MAPBOX_ACCESS_TOKEN: ${FRONTEND_APP_MAPBOX_ACCESS_TOKEN?error}
APP_GRAPHQL_CODEGEN_ENDPOINT: ${FRONTEND_APP_GRAPHQL_CODEGEN_ENDPOINT?error}
env_file:
- .env
command: |
sh -c 'pnpm generate && pnpm build && rm -rf /client-build/* ; cp -r build/* /client-build/'
volumes:
Expand Down

0 comments on commit edbca20

Please sign in to comment.