Skip to content

Commit 11d414c

Browse files
Merge pull request #235 from Houssien-Zeineddine/docker-and-pipeline
fixing the vite api url
2 parents f22065b + 96083fc commit 11d414c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/final_project_laravel_image:latest
185185
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/final_project_react_image:latest
186186
187-
docker-compose up -d --build
187+
docker-compose up -d
188188
189189
sleep 30
190190

docker-compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ services:
1717

1818
frontend:
1919
image: ${DOCKERHUB_USERNAME:-username}/final_project_react_image:latest
20+
build:
21+
context: ./client
22+
args:
23+
- VITE_API_URL=https://13.38.84.88/:8000/api/v0.1
2024
ports:
2125
- "80:80"
2226
depends_on:

0 commit comments

Comments
 (0)