Skip to content

Commit cd039e0

Browse files
committed
fix(docker): fix build section
1 parent 8789d7f commit cd039e0

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hello! It looks like you entered just the letter "M." How can I assist you today?

app/models/compose_models.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ class EnvironmentVariable(BaseModel):
1515
class Volume(BaseModel):
1616
local_dir: str = './nginx/nginx.conf'
1717
container_dir:str = '/etc/nginx/nginx.conf'
18-
18+
19+
class Build(BaseModel):
20+
context:str
21+
dockerfile:str
1922
class Service(BaseModel):
2023
image:str = 'nginx'
2124
container_name:str = 'web_server'
22-
build: str = False
25+
build: Build | None = None
2326
version:str = 'latest'
2427
volumes:List[Volume]
2528
depends_on:List[str]

0 commit comments

Comments
 (0)