We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2537e6e commit 95c7d17Copy full SHA for 95c7d17
build_local.sh
@@ -1,5 +1,14 @@
1
#!/bin/bash
2
-source ./setup_local.sh
+source .env
3
+
4
+# Set environment variables for local build
5
+export FRONTEND_BUILD_CONTEXT=./repo_refs/react1-app
6
+export API_BUILD_CONTEXT=./repo_refs/rails-app
7
+export BACKEND_BUILD_CONTEXT=./repo_refs/react2-app
8
9
+echo $FRONTEND_BUILD_CONTEXT
10
+echo $API_BUILD_CONTEXT
11
+echo $BACKEND_BUILD_CONTEXT
12
13
# Run Docker Compose
14
docker-compose --profile core -f docker-compose.local.yaml up --build -d
docker-compose.local.yaml
@@ -42,3 +42,4 @@ networks:
42
43
volumes:
44
postgres_data:
45
+ nginx_conf:
up_local.sh
0 commit comments