Skip to content

Commit 95c7d17

Browse files
committed
Fixing local system build
1 parent 2537e6e commit 95c7d17

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

build_local.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
#!/bin/bash
2-
source ./setup_local.sh
2+
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
312

413
# Run Docker Compose
514
docker-compose --profile core -f docker-compose.local.yaml up --build -d

docker-compose.local.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ networks:
4242

4343
volumes:
4444
postgres_data:
45+
nginx_conf:

up_local.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)