Merge pull request #17 from Moonlite-Media/dockerizing

adding gpus all flag
This commit is contained in:
Darrel Pol 2024-11-02 16:29:08 -05:00 committed by GitHub
commit 84d1245b31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,7 @@ jobs:
docker rm moonlite-sd || true
# Run the new Docker container
docker run -d -p 7861:7861 --name moonlite-sd \
docker run --gpus all -d -p 7861:7861 --name moonlite-sd \
--env-file /home/${{ secrets.STAGING_EC2_USER }}/.env \
${{ secrets.STAGING_ECR_URI }}:latest