mmlk / Dockerfile
scribbyotx's picture
Update Dockerfile
ac45ae8 verified
raw
history blame
390 Bytes
# 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