Skip to content

Commit f61907b

Browse files
committed
feat(Makefile): add submodule section to Makefile
1 parent 935a2a4 commit f61907b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
namespace ?= default
22
releaseName ?= devopsgpt
33

4-
all: build up
4+
all: update-submodule build up
5+
6+
update-submodule:
7+
git submodule init && git submodule update
58

69
build:
710
docker compose build

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
build:
66
context: .
77
dockerfile: Dockerfile
8-
image: 81318131/fastapi_gpt
8+
image: fastapi_gpt
99
container_name: fastapi_gpt
1010
command: fastapi run app/main.py --port 8080
1111
volumes:
@@ -24,7 +24,7 @@ services:
2424
dockerfile: Dockerfile
2525
args:
2626
VITE_API_CLIENT_BASE_URL: "http://localhost:8080/api/"
27-
image: 81318131/web_gpt
27+
image: web_gpt
2828
container_name: web_gpt
2929
ports:
3030
- "80:4173"

0 commit comments

Comments
 (0)