#How can I create a new File in my

1 messages · Page 1 of 1 (latest)

scenic shore
#

Concrete example I have this right now:

        openapi_file = (
            dag.devcontainer()
            .build()
            .with_mounted_directory("./code", python_src)
            .with_workdir("./code")
            .with_exec(
                ["uv run ./src/package/cli/dev.py openapi ./build/openapi.json"],
                use_entrypoint=True,
            )
        )

which will create the openapi spec in the build folder, I want to add a .gitignore file to that build folder with the contents "*", and then return the whole build folder from the function

hazy haven
prisma monolith
#

I have asked the same question a while back