How to add start command via python

I was not able to find a parameter related to it, please assist.
No description
No description
Solution:
```python Create a new pod configuration config = runpod.PodConfiguration( name="my-app-container", imageName="nginx:latest",...
Jump to solution
1 Reply
Solution
Asad Cognify
Asad Cognify6mo ago
# Create a new pod configuration
config = runpod.PodConfiguration(
name="my-app-container",
imageName="nginx:latest",
containerDiskInGb=10,
dockerArgs="bash -c 'mkdir /testdir1 && /start.sh'",
env={"DATABASE_URL": "postgres://user:password@localhost/dbname"}
)

# Create the pod
pod = runpod.create_pod(config)
# Create a new pod configuration
config = runpod.PodConfiguration(
name="my-app-container",
imageName="nginx:latest",
containerDiskInGb=10,
dockerArgs="bash -c 'mkdir /testdir1 && /start.sh'",
env={"DATABASE_URL": "postgres://user:password@localhost/dbname"}
)

# Create the pod
pod = runpod.create_pod(config)
Want results from more Discord servers?
Add your server