File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- if [ ! -f .env ]; then
3
- export FRONTEND_BUILD_CONTEXT=" https://${GH_TOKEN} @${FRONTEND_REPO_URL} #${FRONTEND_REF} "
4
- export API_BUILD_CONTEXT=" https://${GH_TOKEN} @${API_REPO_URL} #${API_REF} "
5
- export BACKEND_BUILD_CONTEXT=" https://${GH_TOKEN} @${BACKEND_REPO_URL} #${BACKEND_REF} "
6
-
7
- echo " " >> .env
8
- echo " FRONTEND_BUILD_CONTEXT='${FRONTEND_BUILD_CONTEXT} '" >> .env
9
- echo " API_BUILD_CONTEXT='${API_BUILD_CONTEXT} '" >> .env
10
- echo " BACKEND_BUILD_CONTEXT='${BACKEND_BUILD_CONTEXT} '" >> .env
11
- fi
12
2
13
3
source .env
14
4
@@ -25,4 +15,4 @@ docker compose exec nginx nginx -s reload
25
15
docker rm nginx_tmp
26
16
27
17
# Run Docker Compose without local volumes
28
- docker-compose --profile core up --build --no-deps -d
18
+ docker-compose --profile core up --build --no-deps
You can’t perform that action at this time.
0 commit comments