remove fastapi and pydantic extras
This commit is contained in:
@@ -38,16 +38,12 @@ temp_dir = tempfile.mkdtemp()
|
|||||||
with open(pathlib.Path(temp_dir) / "Dockerfile", "w", encoding="utf-8") as f:
|
with open(pathlib.Path(temp_dir) / "Dockerfile", "w", encoding="utf-8") as f:
|
||||||
f.write(dockerfile_contents)
|
f.write(dockerfile_contents)
|
||||||
|
|
||||||
cicd_image = (
|
cicd_image = Image.from_dockerfile(
|
||||||
Image.from_dockerfile(
|
pathlib.Path(temp_dir) / "Dockerfile",
|
||||||
pathlib.Path(temp_dir) / "Dockerfile",
|
context_mount=None,
|
||||||
context_mount=None,
|
force_build=True,
|
||||||
force_build=True,
|
gpu="A10G",
|
||||||
gpu="A10G",
|
).env(df_args)
|
||||||
)
|
|
||||||
.env(df_args)
|
|
||||||
.pip_install("fastapi==0.110.0", "pydantic==2.6.3")
|
|
||||||
)
|
|
||||||
|
|
||||||
app = App("Axolotl CI/CD", secrets=[])
|
app = App("Axolotl CI/CD", secrets=[])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user