Skip to content

Commit 670e0b3

Browse files
authored
Merge pull request #50 from sunmh207/feature/20250321-config
fixed:docker build issue
2 parents dd05586 + b594960 commit 670e0b3

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

Diff for: Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ RUN pip install --no-cache-dir -r requirements.txt
1515

1616
RUN mkdir -p log data conf
1717
COPY biz ./biz
18-
COPY core ./core
1918
COPY api.py ./api.py
2019
COPY ui.py ./ui.py
2120
COPY conf/prompt_templates.yml ./conf/prompt_templates.yml

Diff for: docker-compose.prod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
context: .
55
dockerfile: Dockerfile
66
target: prod
7-
image: sunmh207/ai-codereview-gitlab:1.2.3
7+
image: sunmh207/ai-codereview-gitlab:1.2.4
88
ports:
99
- "5001:5001"
1010
- "5002:5002"
@@ -13,7 +13,7 @@ services:
1313
- log:/app/log
1414
- conf:/app/conf
1515
env_file:
16-
- .env
16+
- ./conf/.env
1717
restart: unless-stopped
1818

1919
volumes:

Diff for: docker-compose.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,19 @@ services:
44
context: .
55
dockerfile: Dockerfile
66
target: dev
7-
image: sunmh207/ai-codereview-gitlab:1.2.3
7+
image: sunmh207/ai-codereview-gitlab:1.2.4
88
ports:
99
- "5001:5001"
1010
- "5002:5002"
1111
volumes:
1212
- ./biz:/app/biz
13-
- ./core:/app/core
1413
- ./conf:/app/conf
14+
- ./conf/supervisord.dev.conf:/etc/supervisor/conf.d/supervisord.conf
1515
- ./data:/app/data
1616
- ./log:/app/log
1717
- ./api.py:/app/api.py
1818
- ./requirements.txt:/app/requirements.txt
19-
- ./supervisord.dev.conf:/etc/supervisor/conf.d/supervisord.conf
2019
- ./ui.py:/app/ui.py
2120
env_file:
22-
- .env
21+
- ./conf/.env
2322
restart: unless-stopped

0 commit comments

Comments
 (0)