File size: 403 Bytes
61a81ac
 
ac45ae8
c602d32
ac45ae8
 
 
 
 
c602d32
 
ac45ae8
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# Run the Docker container
docker run -d -p 5000:5000 --gpus=all r8.im/xarty8932/dream@sha256:5e3c45aa9c9896f86634175309490225e5a379a6a81c39abbf55eab2cd16b657

# Wait a few seconds for the container to start
sleep 5

# Send a POST request using curl
curl -s -X POST \
  -H "Content-Type: application/json" \
  -d '{"key1":"value1", "key2":"value2"}' \
  http://localhost:5000/your-endpoint